Re: [DNSOP] 4035 3.1.4.1 erratum? dig ds root-servers.net @X.root-servers.net

Marek Vavruša <mvavrusa@cloudflare.com> Wed, 03 January 2018 19:09 UTC

Return-Path: <mvavrusa@cloudflare.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 1839C124B17 for <dnsop@ietfa.amsl.com>; Wed, 3 Jan 2018 11:09:36 -0800 (PST)
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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cloudflare.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 vIP4tIu6Yx6L for <dnsop@ietfa.amsl.com>; Wed, 3 Jan 2018 11:09:33 -0800 (PST)
Received: from mail-yb0-x22b.google.com (mail-yb0-x22b.google.com [IPv6:2607:f8b0:4002:c09::22b]) (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 B389E1200B9 for <dnsop@ietf.org>; Wed, 3 Jan 2018 11:09:33 -0800 (PST)
Received: by mail-yb0-x22b.google.com with SMTP id b39so972329ybj.13 for <dnsop@ietf.org>; Wed, 03 Jan 2018 11:09:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=knwrlobmpK6KlErOsQBgc7q6uv1oSuqC/90Q5uOUwIg=; b=azEujMZS6DC8KWvtWfHFlkJ50BlajEgNGq6JN2K+uvDMwGJparYyN2CGoud1KmT0fg SMqHJyfexuPmVPH1sToINkh92v+axkaHrzbz4OBxNuhUG7aj91hO+DJQOttBfFvH2rQ9 AVsBGR8f8V6C5Gt1rwuqEdKMvsirMWDfQWNYI=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=knwrlobmpK6KlErOsQBgc7q6uv1oSuqC/90Q5uOUwIg=; b=LNgzOGRh+kNBK0+rAiO9reNlwdqhtHg5eqt54rzdmh0zx4a0TgXCI+apGub22fPJ+x Ek5t5HszYnBtT58FaUPIRhSA1vekaXfn6Qea8+g6DXY141UvO/e3PdZclOGS9oyYKn82 EkzIVQtXqoziD4pacoigyOzosKxjgnl6QPEHPz8LGPo27a6PxPvs/oI9c908WfTXVTPX T+lMTMOH1RX9KfPbHp/9WJ3KpZ+aYzuZNVJZCRLeEiYmGXm9Pkfusgf76tNzqJhAg9CD 9nGb5HkYyHx0YgjF/G4CLJxY1JHrbzDb7LVp7BVgKF9Rz0O+6C0Cn3Z901miHuTfM97d bzRA==
X-Gm-Message-State: AKGB3mL3qUaBvQxQppIRVABGITjNq09gmsQfLLPMw380wfAYuh4nCuhH rNZ7+vxjq+Q/2KQi3/u/wd0OnP7vUs+a8AORUqeiAMwD
X-Google-Smtp-Source: ACJfBov7LdtLcZXYgtQA6Ac5MIvMikQIhi9clwbt03ChFF9MOIkXUt60mT00ZSMQyoM6vkaGBgHJ6wLsKMhOyZhBoY0=
X-Received: by 10.37.102.1 with SMTP id a1mr2306389ybc.473.1515006572802; Wed, 03 Jan 2018 11:09:32 -0800 (PST)
MIME-Version: 1.0
Received: by 10.37.9.2 with HTTP; Wed, 3 Jan 2018 11:09:32 -0800 (PST)
In-Reply-To: <E361FA78-84DF-4B42-AFAC-C8C6CC140158@powerdns.com>
References: <E361FA78-84DF-4B42-AFAC-C8C6CC140158@powerdns.com>
From: Marek Vavruša <mvavrusa@cloudflare.com>
Date: Wed, 03 Jan 2018 11:09:32 -0800
Message-ID: <CAC=TB121_FjgHBoO6mk3zWWp9kJ2DDkmKnMDZ8k0Gk3dLOK-mw@mail.gmail.com>
To: Peter van Dijk <peter.van.dijk@powerdns.com>
Cc: dnsop <dnsop@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/I5_btUesdFbJplOUE8Od2p4hfWQ>
Subject: Re: [DNSOP] 4035 3.1.4.1 erratum? dig ds root-servers.net @X.root-servers.net
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.22
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: Wed, 03 Jan 2018 19:09:36 -0000

That's a good point. Personally, I'd favour a referral response since
it saves resolver a round trip (at least for resolvers not doing QNAME
minimisation), it seems in conflict with 3.1.4.1 though as you pointed
here.

Marek

On Wed, Jan 3, 2018 at 10:31 AM, Peter van Dijk
<peter.van.dijk@powerdns.com> wrote:
> Output edited for brevity:
>
> $ dig ds root-servers.net @d.root-servers.net
>
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17643
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
> ;; WARNING: recursion requested but not available
>
> ;; OPT PSEUDOSECTION:
> ; EDNS: version: 0, flags:; udp: 4096
> ;; QUESTION SECTION:
> ;root-servers.net.              IN      DS
>
> ;; AUTHORITY SECTION:
> root-servers.net.       3600000 IN      SOA     a.root-servers.net.
> nstld.verisign-grs.com. 2017111600 14400 7200 1209600 3600000
>
> $ dig ds root-servers.net @e.root-servers.net
>
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26972
> ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 27
> ;; WARNING: recursion requested but not available
>
> ;; OPT PSEUDOSECTION:
> ; EDNS: version: 0, flags:; udp: 4096
> ;; QUESTION SECTION:
> ;root-servers.net.              IN      DS
>
> ;; AUTHORITY SECTION:
> net.                    172800  IN      NS      a.gtld-servers.net.
> net.                    172800  IN      NS      b.gtld-servers.net.
> .. ..
>
> ;; ADDITIONAL SECTION:
> a.gtld-servers.net.     172800  IN      A       192.5.6.30
> b.gtld-servers.net.     172800  IN      A       192.33.14.30
> .. ..
>
>
>
> When running the query in the Subject, these are the two possible outputs I
> have observed from various root servers (with some variation from the same
> letter, presumably because of dual vendor strategies).
>
> From 4035 3.1.4.1, the NODATA response should be sent when:
>
>    o  The name server has received a query for the DS RRset at a zone
>       cut.
>
>    o  The name server is authoritative for the child zone.
>
>    o  The name server is not authoritative for the parent zone.
>
>    o  The name server does not offer recursion.
>
>
> Points 1, 2 and 4 are clear. It is point 3 that hurts here. The root servers
> are authoritative for root-servers.net. and for . , but not for net - and
> they know this because they can see the delegation in the root zone.
>
> It is my suspicion that 3.1.4.1 was not written with this edge case in mind,
> and I think that while 3.1.4.1 favours the NODATA response, the referral is
> much more useful. As a data point, the PowerDNS validator currently gets in
> trouble with the NODATA response:
> https://github.com/PowerDNS/pdns/issues/6138
>
> I think an erratum to 4035 is in order, clarifying the language such that
> servers would return the referral in this case. I have not figured out the
> exact wording yet (but I will).
>
> What does dnsop think?
>
> Kind regards,
> --
> Peter van Dijk
> PowerDNS.COM BV - https://www.powerdns.com/
>
> _______________________________________________
> DNSOP mailing list
> DNSOP@ietf.org
> https://www.ietf.org/mailman/listinfo/dnsop