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

Bob Harold <rharolde@umich.edu> Fri, 15 June 2018 18:38 UTC

Return-Path: <rharolde@umich.edu>
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 7FCF1130E39 for <dnsop@ietfa.amsl.com>; Fri, 15 Jun 2018 11:38:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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=umich.edu
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 QmKNgN5NekR2 for <dnsop@ietfa.amsl.com>; Fri, 15 Jun 2018 11:38:15 -0700 (PDT)
Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (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 D6D84130DBE for <dnsop@ietf.org>; Fri, 15 Jun 2018 11:38:14 -0700 (PDT)
Received: by mail-lf0-x229.google.com with SMTP id g21-v6so16000781lfb.4 for <dnsop@ietf.org>; Fri, 15 Jun 2018 11:38:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MxpYG3VI8eKK0NeAbhuDOwnKVCY91TR1IVL1BnLKq/s=; b=MLrqjc3vDpORrSjMUC5DYwWUUyDleNK9Z83mAyxHRBr7HGTi5UU9ILocyV6Bwyns3T bihE8lLuB33EFDgBPfwu1Ow3bxpudbKEa3DT5ukY1K7QLtPRU9wECr0f9caZMoaoczPr 3rQ+E5TcZQw2gbAlp++YD66aDsPXP6BjmrIzTCeAmFWRWrA2HKLiFhqt+Wh199WAvKkk KgktzqEE8+VhW31aAQDO2aB13GMQT7r/CtU/7BEP9ND/K0yqRs9luqYwB4QgmF36fXnZ o9n7UzLQlpmNzutSlwHwNZKdnEMP8aFzOqqGFNjcborZIiUtqW3InXc3AVWcbXyUxLhV UY8g==
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=MxpYG3VI8eKK0NeAbhuDOwnKVCY91TR1IVL1BnLKq/s=; b=N8S7RWpa7XfR6eo3gXXnJd+7ip/wZj2mVhHozTfvPssvNFhbUuJe76VDSh+Bm4QD7o /d1V/RyT0SJaqxaVo85LQRdfxrjNySFcKK9zFOMjIQFVnDxtqyVBqg3lSujIYL2HNhcS OOvKYo0Z8nsbSykv/rDexOqde4j1FKiO8lON2npt/96vOJM4O5pE5YZFYpDdLAVDmc1p sXAIBu1FlT4xLUES9l4CuGfjEC4hApWBmFimhbkRWvSmr59POf9a5j6rNu+7rCQ4aDY3 HUWHjXiKWyOPTyKo3rbtEmBWTC6++Yxo+xiZ+i1NHOiCdiXZVTktiVmmUz4dxSEh34yl g/RQ==
X-Gm-Message-State: APt69E0SRKIEqkf7uoDnq8iZeWMLv8cyTgqFpad4+U01d2lYLd14Zt7f CiI9f6WiR2XZK1r+A/wx0F7+jwtODsgKoZZG5a9i0g==
X-Google-Smtp-Source: ADUXVKJJ/lRIfYEAnLWvbPhhRH5xSuevxN7Ngtd70arNRf+gXwGf48k/1zzAZSbsjmrvug5G8BK3dbHISLNtR2LRpkM=
X-Received: by 2002:a2e:2161:: with SMTP id h94-v6mr2152210ljh.58.1529087893038; Fri, 15 Jun 2018 11:38:13 -0700 (PDT)
MIME-Version: 1.0
References: <CAKC-DJimMOtNCSE95kRs6Dy3dC_mxB=8O2WVA7badp8GK2ci-Q@mail.gmail.com> <20180615171231.GF1126@mx4.yitter.info> <CAHPuVdWP=DVj52diWYTHKqHBET0hFyUWvACT-VpH20iKzed-ww@mail.gmail.com>
In-Reply-To: <CAHPuVdWP=DVj52diWYTHKqHBET0hFyUWvACT-VpH20iKzed-ww@mail.gmail.com>
From: Bob Harold <rharolde@umich.edu>
Date: Fri, 15 Jun 2018 14:38:00 -0400
Message-ID: <CA+nkc8AS6+cZfi_NGT2T+FeQkQ5fKn--HQOOuusL1cYFkdKbKA@mail.gmail.com>
To: Shumon Huque <shuque@gmail.com>
Cc: Andrew Sullivan <ajs@anvilwalrusden.com>, IETF DNSOP WG <dnsop@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000b201a1056eb28434"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/z4fNP7bWwxWAdSoIqlCGlvtDbCA>
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: Fri, 15 Jun 2018 18:38:19 -0000

On Fri, Jun 15, 2018 at 2:28 PM Shumon Huque <shuque@gmail.com> wrote:

> On Fri, Jun 15, 2018 at 1:13 PM Andrew Sullivan <ajs@anvilwalrusden.com>
> wrote:
>
>> On Fri, Jun 15, 2018 at 11:45:19AM -0400, Erik Nygren wrote:
>> > A number of folks have been bitten by a bug in bind 9..12 where it
>> silently
>> > changes the default sorting of rrsets to always be sorted (even if the
>> > authoritative response wasn't sorted).
>>
>> I believe that RRsets are unordered sets by definition.  So I supect
>> that if people are relying on the order in which they come off the
>> wire, they're making a mistake.
>>
>
> This is all true.
>
> Yet, large numbers of application services on the Internet already rely on
> the assumption that address RRsets are returned from resolvers in a
> shuffled or randomized order for load balancing reasons. So changing this
> behavior will elicit many fierce complaints (I already observed it).
>
> --
> Shumon.
>

Round-robin is a documented feature that many applications use.  Removing
it from DNS resolvers, and then having to add it to a much larger number of
applications, does not seem like a good trade-off.

-- 
Bob Harold