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

"Darcy Kevin (FCA)" <kevin.darcy@fcagroup.com> Mon, 18 June 2018 23:04 UTC

Return-Path: <kevin.darcy@fcagroup.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 E37A8130E54 for <dnsop@ietfa.amsl.com>; Mon, 18 Jun 2018 16:04:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 hisaA1okuh5b for <dnsop@ietfa.amsl.com>; Mon, 18 Jun 2018 16:04:25 -0700 (PDT)
Received: from odbmap07.extra.chrysler.com (odbmap07.out.extra.chrysler.com [129.9.107.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E8AAB130E36 for <dnsop@ietf.org>; Mon, 18 Jun 2018 16:04:24 -0700 (PDT)
Received: from shbmap09.shdc.chrysler.com (Unknown_Domain [151.171.73.109]) by (Symantec Messaging Gateway) with SMTP id 2F.38.05436.46A382B5; Mon, 18 Jun 2018 19:04:04 -0400 (EDT)
X-AuditID: 81096b23-31fbb9800000153c-07-5b283a64c4ee
Received: from mxph2chrw.fgremc.it (Unknown_Domain [151.171.20.46]) by (Symantec Messaging Gateway) with SMTP id 92.CD.16655.957382B5; Mon, 18 Jun 2018 18:51:06 -0400 (EDT)
Received: from mxph4chrw.fgremc.it (151.171.20.48) by mxph2chrw.fgremc.it (151.171.20.46) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Mon, 18 Jun 2018 19:04:22 -0400
Received: from mxph4chrw.fgremc.it ([fe80::cc0c:cb4f:1b3f:2701]) by mxph4chrw.fgremc.it ([fe80::cc0c:cb4f:1b3f:2701%18]) with mapi id 15.00.1365.000; Mon, 18 Jun 2018 19:04:21 -0400
From: "Darcy Kevin (FCA)" <kevin.darcy@fcagroup.com>
To: dnsop WG <dnsop@ietf.org>
Thread-Topic: [DNSOP] BCP on rrset ordering for round-robin? Also head's up on bind 9.12 bug (sorting rrsets by default)
Thread-Index: AQHUBL/ub2Lp5GPc1U6ETp2lBUeQrqRl9JWAgACspDA=
Date: Mon, 18 Jun 2018 23:04:21 +0000
Message-ID: <7ea4b166c9c44598b30f33faee87b0d5@mxph4chrw.fgremc.it>
References: <CAKC-DJimMOtNCSE95kRs6Dy3dC_mxB=8O2WVA7badp8GK2ci-Q@mail.gmail.com> <7a4cf589-d3f4-2714-eb06-9764ef9cd204@redhat.com>
In-Reply-To: <7a4cf589-d3f4-2714-eb06-9764ef9cd204@redhat.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [151.171.20.201]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrOIsWRmVeSWpSXmKPExsUyfbVnrm6KlUa0wbEXHBZ331xmcWD0WLLk J1MAYxSXTUpqTmZZapG+XQJXxrLJL9kKtkhVHH39k6WB8Y5kFyMnh4SAicS6WeeYQGwhge2M Eu0feOHi63+xdjFyAcXXM0p0L5zCCOGsY5TY0fqRBaJjJ6PE0T9aIDYbUMfCK3eZuxg5OEQE ZCX2vo4CCQsLVEqcXDqPGcQWEaiSuHV3DSOEbSUx7fJSsMUsAqoS59e0s4LYvAJOEt9uPWGD 2NXCKPH41h82kASngJ3Erl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5KZUZicUZ8UWlOavEhRgkOZiUR3uRfQDnelMTKqtSifJiU NAeLkjivSoFDoJBAemJJanZqakFqEUxWg4NDoHfN6guMUix5+XmpShK8gtxAOwWLUtNTK9Iy c0oQSpk4OEEW8QAtesAFVMNbXJCYW5yZDpE/xWjO8aatp4eZY9oyEPnk8jQguWpJ/wRmIbDR UuK8uWxAbQIgbRmleXCTXzGKAz0rzLsNZCgPMKXCzXwFtI4JaN2WKpC/iksSEVJSDYz600wa 5H0lb+f0HTu7qVHiht2TkLfnBfpOTq/KVEvzkLlk95SZa7fQ1M2zT2lJMUyy8DqmrOR+K/r+ 1YiwK12LElyXcjayWEz39jWZuLc7I2bylQX27maraha01/lUaJ45qnNO4Snztw7XyzYhEcFe Fya1fJKP9nFQWLvyhJ3mn10xjaJ37JVYijMSDbWYi4oTAfUla1NmAwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/Fzh_b0n4IUVxxi7eqOaKn41MKiY>
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:04:28 -0000

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*.

											- Kevin



-----Original Message-----
From: DNSOP <dnsop-bounces@ietf.org> On Behalf Of Florian Weimer
Sent: Monday, June 18, 2018 4:23 AM
To: Erik Nygren <erik+ietf@nygren.org>rg>; dnsop WG <dnsop@ietf.org>
Subject: Re: [DNSOP] BCP on rrset ordering for round-robin? Also head's up on bind 9.12 bug (sorting rrsets by default)

On 06/15/2018 05:45 PM, Erik Nygren wrote:
> I suspect starting assumptions are roughly in the range of:
> 
> * Recursive (and stub?) resolvers (SHOULD/MUST?) do some form of 
> round-robin in RRset responses.
> 
> * There are a variety of ways to implement round-robin (randomize, 
> permute, etc).
> 
> * Server operators need to be aware that round-robin may be a part of 
> a load balancing scheme (especially if capacity is far greater than 
> average demand) but should not be relied on exclusively.  (Perhaps 
> with examples of why...)
> 
> Am I missing something in-terms of an existing BCP to this effect?

Unless all addresses happen to have identical shared prefix length with the client address (that is, count-leading-zeros(client-address XOR
server-address) is the same), RFC 6724 Rule 9 requires that clients do
*not* perform random server selection.

I think this was a mistake in RFC 3484, and it is still wrong.  But I think procedurally, you cannot change this in a BCP.

Thanks,
Florian

_______________________________________________
DNSOP mailing list
DNSOP@ietf.org
https://www.ietf.org/mailman/listinfo/dnsop