Re: [DNSOP] [Ext] WGLC rfc8499bis one week extension for lame delegation definition

Peter Thomassen <peter@desec.io> Tue, 02 May 2023 16:14 UTC

Return-Path: <peter@desec.io>
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 CF821C13AE44 for <dnsop@ietfa.amsl.com>; Tue, 2 May 2023 09:14:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=a4a.de
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hlKLtr_ZISF3 for <dnsop@ietfa.amsl.com>; Tue, 2 May 2023 09:14:35 -0700 (PDT)
Received: from mail.a4a.de (mail.a4a.de [IPv6:2a01:4f8:10a:1d5c:8000::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E74FBC13AE3F for <dnsop@ietf.org>; Tue, 2 May 2023 09:14:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=a4a.de; s=20170825; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:Subject:From :References:To:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Q1nFKvNj4hlDplrVAdeZ2mc1r7ewc0VLFGKa2P8oeOY=; b=j+SJ0hq6dZZNdgdzsd4WZgBrJA Yto+1NLcz5xpxIyh0J1LJtbb74yG2+l8JqabiivW/Hi6BnLCUm1jdypdMi6fX8Hok72hBF5/0+uCT xAKy4yXtfGUcuRr0xaYXBgYGMwufcQ98SVye1TpkUv9qvMLvQPT3AbhMf+r0gk9LBP1AKvfHCCw2h aSgIHdlnL7hhveyNGTim2cRoZlLHmfB9uaDgEaVt5CWh6ZnN07SgC4U2Cy6F0F6gn6DJQVhu1Letp iCF5wBQrscRrtmyEFOOU9TTGii/XzbQsDcBG0sGDXqaG4ie4+GGzlJbKEl5s6y5JgDyueuXBaQMLj Gg0EqntQ==;
Received: from [90.187.67.221] (helo=[192.168.188.94]) by mail.a4a.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from <peter@desec.io>) id 1ptse8-00GBzv-Tj; Tue, 02 May 2023 18:14:33 +0200
Message-ID: <65e91a6b-a4c9-3228-434d-e96228c4c0c2@desec.io>
Date: Tue, 02 May 2023 18:14:32 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0
Content-Language: en-US
To: Joe Abley <jabley@hopcount.ca>, dnsop@ietf.org
References: <f5757414-dd3b-8a09-f945-d73cecf556a3@NLnetLabs.nl> <40C193AF-938C-418F-924E-94F4DD358164@icann.org> <B93A0E80-08F8-4FDB-81C2-47C465D8DDB4@verisign.com> <ZFD/zr7Qse5WzIQZ@registro.br> <0f956eb3-7d3e-2258-59f0-d0031c506835@nohats.ca> <e9e8515d-83b3-7b14-55d9-8b96d6acf3c1@desec.io> <72c4391f-b1c8-3925-2bec-84b057cca577@desec.io> <kzbBDHNKGgZx8cblM37NuJUSbzcmYp5gjnEqY0j9FLSYnq8P3EeEN8xzBhcGUy7ygPravbyUCMPgNZ6wmx1jwprzNhRFCTtrPpMb8FVXiZI=@hopcount.ca>
From: Peter Thomassen <peter@desec.io>
In-Reply-To: <kzbBDHNKGgZx8cblM37NuJUSbzcmYp5gjnEqY0j9FLSYnq8P3EeEN8xzBhcGUy7ygPravbyUCMPgNZ6wmx1jwprzNhRFCTtrPpMb8FVXiZI=@hopcount.ca>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/mOx4Ywp-aLzmlqeVNYKwTV18m6g>
Subject: Re: [DNSOP] [Ext] WGLC rfc8499bis one week extension for lame delegation definition
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.39
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: Tue, 02 May 2023 16:14:39 -0000


On 5/2/23 17:52, Joe Abley wrote:
> On Tue, May 2, 2023 at 11:09, Peter Thomassen <peter@desec.io <mailto:On Tue, May 2, 2023 at 11:09, Peter Thomassen <<a href=>> wrote:
>> If one of the NS answers non-authoritatively, then it doesn't serve a proper NS RRset, so it's not possible for that server's response to agree / be identical with that on the parent side. As a result, the delegation (to that server) is lame, isn't it?
> 
> A nameserver can answer authoritatively for a particular query without being listed in any zone's NS RRSet.
> 
> A response from a server doesn't necessarily include an NS RRSet anyway.

Sure, but to compare to the delegation's NS RRset (as Paul was arguing), you'll have to ask the authoritative nameserver for the NS RRset, in which case the response should contain that RRset and the AA bit.

Paul said that even if the AA bit was missing, that would not be lame, as long as the RDATA agree. I was trying to say that if the child's answer is indeed non-authoritative, that's not a proper situation because the two servers make conflicting authority claims. What the parent and the child nameserver say w.r.t. the NS hosts' authority is not identical; as a result, I would call it lame. (Apologies for the loose wording in my earlier post; I really should be more careful.)

Another case would be where the name server responds with REFUSED, which, depending on the reader's DNS expertise, could be construed as a "answering non-authoritatively", although it's not answer (only a response). Is this meant to be included in the "lame" definition?

(It is not clear whether the verb "answering" is meant to require the presence of answer RRs, but I suppose so. Further, the distinction between "answer" and "response" may not be obvious to someone reading about "lame delegations" when debugging an issue, so it may be worth clarifying what's meant, e.g. by referring to the RCODE.)

Best,
Peter