[DNSOP] Re: Working Group Last Call for draft-ietf-dnsop-cds-consistency
Peter Thomassen <peter@desec.io> Mon, 28 July 2025 15:34 UTC
Return-Path: <peter@desec.io>
X-Original-To: dnsop@mail2.ietf.org
Delivered-To: dnsop@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 4FDF54C37AEE; Mon, 28 Jul 2025 08:34:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.8
X-Spam-Level:
X-Spam-Status: No, score=-2.8 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=desec.io
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KdDCbq-CVIII; Mon, 28 Jul 2025 08:34:29 -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 ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id A674A4C37AD5; Mon, 28 Jul 2025 08:34:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=desec.io; s=20170825; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=+boXqEw4fHxKOGAi0Lf/4naDplyslFSsQWp47yZd0cU=; b=tPIOkEcXBhIfPYW/boOnAqePNx 1ubCMk6Yr+C4tn55c1rb7/yafK8YFNPS6xRuXbgJ3KcYYK/Di9l9YbfmYCiLaTUfWEiW8+np/oJ8g wjKTSZ1BDvu4joJuSZVBpcruxwtFAaXOeDVn4+s0Aa44PQvpw8OqxZZ2Y0g+z7FKrIO2RFy5OTWjI habvX9YQ97iXtUU66kSDGR/9wBEmEJ7MCCqeXUkQ70O0qojVcZ75te1RNIhRpAphF+6iSUOi76xsv 0jUWKmw8OnyZlUkNvhxXr8P+gJFt3qkFnE+zHXshk0mMsoqNPrMYKll/fQQDMt8JftBixcIJZRt6m mul4+0JA==;
Received: from [2a02:8109:9296:1600:89bb:b9b3:eb7f:7887] by mail.a4a.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.97) (envelope-from <peter@desec.io>) id 1ugPrw-0000000FtNx-0OcX; Mon, 28 Jul 2025 17:34:28 +0200
Message-ID: <b284aaf6-9004-4277-b937-ea0b7354c2f2@desec.io>
Date: Mon, 28 Jul 2025 17:34:27 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: Peter Thomassen <peter=40desec.io@dmarc.ietf.org>, Ondřej Caletka <ondrej.caletka@gmail.com>, dnsop@ietf.org
References: <75ebbdf6-678c-42e0-95c8-359c72211916@gmail.com> <3972e379-c4f1-4de5-ade4-48943b91bde7@switch.ch> <adeed716-2ccb-425c-baa7-379c24776bd7@gmail.com> <f97bb48d-bdd7-4b28-b803-7c36176f72eb@desec.io> <1e1a5ae4-3111-41ed-985f-0b5458261822@gmail.com> <43c7980f-500e-46a4-9955-d844189167d2@desec.io>
Content-Language: en-US, de-DE
From: Peter Thomassen <peter@desec.io>
Autocrypt: addr=peter@desec.io; keydata= xsFNBFRjVn0BEADXqtra70yxQrT4MQ9DEhN0mxG6XRAOHE6nP18mqxwSlcET7D6w+z3h4ole v0tyvUU02c2wg04X8WV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Oj7yLS8rXA/9EGX2QRfJS94JTdtseu7saTK9a3IKwk6E33GpfXyUVpMt sOqV756XQwULZSWoxInRQtWojA8pQxDUYrbA4MpX0Efr2Dx1xIsJ5F3JajOqViB1SbOD2m0f bxXbcoWKitsKoag2SlvNOd8rD9FcgDvrkacnaQZcZE8DyyGx0JU451tfoD/igu85NZpTDaWG 6fth7QRlxmdGWrGXRdXAP29jq1n0I1wIyF/bXlZ7MXjOSsfyPddzsnHFTvNMZKps0QXNF+hi ESg9chIeo/IFDDVu6pCtm6mftojx84rczTZiNk8r2T3TU4N8uwWtXn/nj9xd61pnxD0xkTPH zxJrCs59WSfYqj3aFNkWO3Lg0/HGnO9wHQKMXcGPsnKITHVzxCNBQtVHomNA7ds6Kt3/WJgS pU2ciICvrpvKgPNWQ0d/SeY3vYIRvDLZ12Svx6M3eXDrsgZOT5be7kGVr3t7dBOYKcRHkZUq kU1kCcgp0vetISVDOc5fkpdUkAtd5/13pIpz4ikVR3OM4Br4XMVShm6RvoP4pyA+ftCi1+bw 0UbRCrnHgnG+wtCf5nMDGVLc04vITnII+ESZqlF02a1IFj0Z2MuQK2Oszl2Nsx/LG60G1e/R pzKEXIIJgHfbwUCWtV1zQu6v9Ng5H8EqVeWcdaPUwSQMGcDg/sPa4s/OxhgrYBg=
In-Reply-To: <43c7980f-500e-46a4-9955-d844189167d2@desec.io>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Message-ID-Hash: NBIZK6BKGGFAWX63XE3IVVVC76LIMYI5
X-Message-ID-Hash: NBIZK6BKGGFAWX63XE3IVVVC76LIMYI5
X-MailFrom: peter@desec.io
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-dnsop.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Oli Schacher <oli.schacher@switch.ch>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [DNSOP] Re: Working Group Last Call for draft-ietf-dnsop-cds-consistency
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/-Xs47zFP62r0u3LLqwlxtL398BA>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Owner: <mailto:dnsop-owner@ietf.org>
List-Post: <mailto:dnsop@ietf.org>
List-Subscribe: <mailto:dnsop-join@ietf.org>
List-Unsubscribe: <mailto:dnsop-leave@ietf.org>
Hi Ondřej,
On 7/11/25 17:35, Peter Thomassen wrote:
>> The appendix A.1. describes an impossible failure scenario, considering that Section 6.2 of RFC 7344 says that:
>>
>> > The Parental Agent MUST ensure that previous versions of the CDS/
>> > CDNSKEY RRset do not overwrite more recent versions.
>>
>> With this MUST in place, the scenario described in A.1. just cannot happen. It is not a big deal, but seeing it written like this is implying that this risk was not considered when writing RFC 7344, which is not the case.
>
> You are correct. That failure scenario only occurs when not tracking "previous" vs. "new" CDS/CDNSKEY RRset. And I've just checked: there's at least one registry that makes a reasonable attempt at this sort of tracking.
>
> I thus agree with you that Appendix A.1 can then be removed. I'll note that down for the next update after the submission window opens again.
[...]
> The cross-nameserver consistency checks from this can catch such replication issues (but also things beyond, such as multi-signer misalignment). With consistency checks in place, I'm thus wondering whether inception/serial state tracking on the parent side adds much value, or can be relaxed from MUST to SHOULD or MAY. What do you think?
I thought about this again, and realized that there's nothing to change in RFC 7344, because the consistency checks actually fulfill the MUST of RFC 7344 Section 6.2. It's just another way of doing it, and the particular way of doing it is not covered by the MUST: the method proposed there is specifically MAY.
I thus retract my proposal update this aspect of RFC 7344.
As for removing Appendix A.1, I think it's worth pointing out that this draft is one way of handling this problem, with RFC 7344's requirement in mind. I'm thus proposing to change the language as follows:
OLD
be deployed in an alternating fashion. The zone maintainer, having
detected that the DS deployment was successful, may then confidently
remove the old DNSKEY from the zone, only to find out later that the
DS RRset has been turned back, breaking the delegation's DNSSEC chain
of trust.
Checking for consistency minimizes this risk. In case the parent
reports consistency errors downstream, it can also help detect the
replication issue on the child side.
NEW
be deployed in an alternating fashion and without the awareness of
the zone maintainer, who may then inadvertently break the chain of
trust by prematurely removing a DNSKEY still referenced by a (stale)
CDS/CDNSKEY RRset.
While foreseen in [RFC7344] Section 6.2, the solution suggested there
requires parents to keep state on CDS/CDNSKEY RRsets. This document
achieves the same without this burden, and in case the parent reports
consistency errors downstream, can also help detection of the child-
side replication issue by the operator.
Please let me know in case that doesn't work for you, or if you have any other thoughts/suggestions.
I'm planning to upload the a revision at the end of the week.
Best,
Peter
- [DNSOP] Working Group Last Call for draft-ietf-dn… Ondřej Surý
- [DNSOP] Re: Working Group Last Call for draft-iet… Ondřej Surý
- [DNSOP] Re: Working Group Last Call for draft-iet… Steve Crocker
- [DNSOP] Re: Working Group Last Call for draft-iet… Michael Bauland
- [DNSOP] Re: Working Group Last Call for draft-iet… Frederico A C Neves
- [DNSOP] Re: Working Group Last Call for draft-iet… Brian Dickson
- [DNSOP] Re: Working Group Last Call for draft-iet… Joe Abley
- [DNSOP] Re: Working Group Last Call for draft-iet… Brian Dickson
- [DNSOP] Re: Working Group Last Call for draft-iet… Oli Schacher
- [DNSOP] Re: Working Group Last Call for draft-iet… Ondřej Caletka
- [DNSOP] Re: Working Group Last Call for draft-iet… Joe Abley
- [DNSOP] Re: Working Group Last Call for draft-iet… Peter Thomassen
- [DNSOP] Re: Working Group Last Call for draft-iet… Joe Abley
- [DNSOP] Re: Working Group Last Call for draft-iet… Joe Abley
- [DNSOP] Re: Working Group Last Call for draft-iet… Ondřej Caletka
- [DNSOP] Re: Working Group Last Call for draft-iet… Peter Thomassen
- [DNSOP] Re: Working Group Last Call for draft-iet… Oli Schacher
- [DNSOP] Re: Working Group Last Call for draft-iet… Peter Thomassen
- [DNSOP] Re: Working Group Last Call for draft-iet… Ondřej Caletka
- [DNSOP] Re: Working Group Last Call for draft-iet… Peter Thomassen
- [DNSOP] Re: Working Group Last Call for draft-iet… Peter Thomassen
- [DNSOP] Re: Working Group Last Call for draft-iet… Peter Thomassen