Re: [DNSOP] BCP on rrset ordering for round-robin? Also head's up on bind 9.12 bug (sorting rrsets by default)

Shumon Huque <shuque@gmail.com> Mon, 18 June 2018 23:21 UTC

Return-Path: <shuque@gmail.com>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 41070130E5D for <dnsop@ietfa.amsl.com>; Mon, 18 Jun 2018 16:21:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bZV5XVLCqphv for <dnsop@ietfa.amsl.com>; Mon, 18 Jun 2018 16:21:16 -0700 (PDT)
Received: from mail-yw0-x232.google.com (mail-yw0-x232.google.com [IPv6:2607:f8b0:4002:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1452D130E55 for <dnsop@ietf.org>; Mon, 18 Jun 2018 16:21:16 -0700 (PDT)
Received: by mail-yw0-x232.google.com with SMTP id k18-v6so5696441ywm.11 for <dnsop@ietf.org>; Mon, 18 Jun 2018 16:21:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2SLn5tOm0ilgi/HL8/h7zdydB/5/iHjxu5dd9oHdam0=; b=cPvkJLlIK7PDv29vBtr+7/qF4IF9XisKQNKXr6vz0PYucgO0My8tKZ+XHhWfx+Sys2 bu0jheKHstNCkGBZgDb8B+vgVONAn3QG7demCzQczhqThQhqdQkQnEjS0+hjcgjZQMV4 74VaCnuUubpcQM6cCuPfyLysRsZ/4WqezwxibVcosEK711q7UHjIx0s3K+2uPp1Nb4fZ kIXKdNIeJM2gH1YMJjtShPgsKwOPQOcNBGQXrrtZtWnj6FCeiCsze/IiRKzoagJ7hL6S DPRm6DOvfHMytR8y6+ctTchaP/7GkP3oIhzOexOV6N6m9aYRV1iboXiG/q7INUO+AjZt vCbg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2SLn5tOm0ilgi/HL8/h7zdydB/5/iHjxu5dd9oHdam0=; b=retV8gznER/CND33V0PJj/qPGxCkocS0wr0GxFJwwo3mikPIlNo90eawt/b3u4rVMg IvlOOcFx7ZG7xILXjpRMfGR+um9yjMhrkHXa17UQ0SW/clzDf/S7Gi5JDMLbwSKLfT97 Nuj37XHpIgz1W4P7yHZMKouUKnhffDUtG8OtSyhIqGTX+QkweWWAVG135TuBC/Gd9Bn+ j7iKHQFXicK4xEyS3i0iJDDBCmePX81t8bttOxdK6DwE9cyE6Q+kIcSVOY64MTa9ywry 39hvEVKl4VlSm5y6FO7IX+QgWfIkuhl5CILGytwLqoPrpyOM36L7FgJErgrH5WApbsMg 2DMQ==
X-Gm-Message-State: APt69E0tTW3L1ksNK0Ov3imjVaraajJtlfcg+k2uTtIlgJvdGbJEWIpm EUFLlcoOoJg3ZCE4ODb8tTKbnlih3uxlV+XhAGQ=
X-Google-Smtp-Source: ADUXVKKzg5zyhSaEGncnPiRAGy4a1TpnL9XQV37R7S2vPf8T/RzR0tODv5jCvHT59XwUWtPkYWBQJfVi7xRukZjzwxU=
X-Received: by 2002:a81:6fc6:: with SMTP id k189-v6mr7259376ywc.232.1529364075177; Mon, 18 Jun 2018 16:21:15 -0700 (PDT)
MIME-Version: 1.0
References: <CAKC-DJimMOtNCSE95kRs6Dy3dC_mxB=8O2WVA7badp8GK2ci-Q@mail.gmail.com> <7a4cf589-d3f4-2714-eb06-9764ef9cd204@redhat.com> <7ea4b166c9c44598b30f33faee87b0d5@mxph4chrw.fgremc.it>
In-Reply-To: <7ea4b166c9c44598b30f33faee87b0d5@mxph4chrw.fgremc.it>
From: Shumon Huque <shuque@gmail.com>
Date: Mon, 18 Jun 2018 19:21:03 -0400
Message-ID: <CAHPuVdWGic-odTKYCzmqUBc7tmxsweCFz-_5wOrJLauf73HqBw@mail.gmail.com>
To: "Darcy Kevin (FCA)" <kevin.darcy@fcagroup.com>
Cc: "dnsop@ietf.org WG" <dnsop@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000006eec8a056ef2d2f6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/Vw2Ld3jlJZ5cglnbcoKSrb4xoak>
Subject: Re: [DNSOP] BCP on rrset ordering for round-robin? Also head's up on bind 9.12 bug (sorting rrsets by default)
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Jun 2018 23:21:19 -0000

On Mon, Jun 18, 2018 at 7:05 PM Darcy Kevin (FCA) <kevin.darcy@fcagroup.com>
wrote:

> RFC 6724 specifically says: "Rules 9 and 10 MAY be superseded if the
> implementation has other
> means of sorting destination addresses. For example, if the
> implementation somehow knows which destination addresses will result
> in the 'best' communications performance."
>
> So, technically, if an implementation chooses a method of "the exact order
> in which I received the address records from my upstream resolver" as a way
> to produce the "'best' communication performance", given the circumstances,
> then that is technically not a violation of the standard. The local
> optimization is to trust the upstream resolver to Do The Right Thing. It's
> not always a wise choice, but most of the time it's better than sorting
> based on prefix-length matching (right?)
>
> RFC 6724 is, after all, about *default* address selection (that word is
> even in the title of the RFC). Defaults are made to be superseded -- that's
> kind of the definition of what a default *is*.
>

This whole thread is about "defaults"  though!

Application deployers attempting to rely (rightly or wrongly) on load
balancing of addresses presented by name resolution APIs will have
preferences for a particular default that allows them to achieve that goal.

(I'm well aware that the spec allows and that OSes provide knobs to tweak
the address selection algorithm - I've lost track of how many times I've
edited my gai.conf file to do various kinds of tests!)

Shumon.