[DNSOP] Re: Andy Newton's Discuss on draft-ietf-dnsop-ds-automation-08: (with DISCUSS and COMMENT)

Peter Thomassen <peter@desec.io> Wed, 20 May 2026 11:14 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 6176BF181074; Wed, 20 May 2026 04:14:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1779275656; bh=7w3AOqfEb8M9TY/P8fgV5VSswImNThytIY+cT+dt3Pk=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=n3vam74sVIFzNPFkEw7q9fxT8i+Wmb/59vSZc5bSAB7q6pmoRCov4hH1T3mTxOvc5 CuHWuIQaRDbJYOxU8/5TpErkyiAGYQg83qMlqyJaKwnT1tIb403ImCeVSYZMwR811D ClJeqJ2LawbLleizVbX7oZrSwMMp2PQaow1pI594=
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 YJ6qqbFHaxoE; Wed, 20 May 2026 04:14:15 -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 1E447F18106D; Wed, 20 May 2026 04:14:15 -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=GFk7Z2hfwEiHwo7dzcbymNHMgITFk8dVILEma3NNQOo=; b=zKUTCWjBzBN8DwaKEp1iCNKcaB qDSHMcMw0Vr2P+fXoURH7G7/VY0Z2fADcFoU5IF8P73ooo2PTgdCklf5ZHfq1VStqC2LEb9SbbA5r G4StJiUShs6heHd888WUFH1KjruNkItVm3X/c790abiebmq6zYe1jJPvj3btiu2uo8UT6tjrRsgX+ Re2IMU9uxMI6VUSZMDW0BXmFCMg5OcH09ccjSiFs7SrumuBMoJnE58pcJdXSgfmQCJ1JeROg3qEef tXhQsldRgrUKGR7p9I4SF8K0Ch/1/GrBLuKO42oU2DWb4divtW9IFf/DBPgIlT4w/bflFf3YUMls4 OtnROOUw==;
Received: from [2001:9e8:16d1:ee00:9e13:dab2:dd60:57c5] 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 1wPesI-0000000D99Y-1er3; Wed, 20 May 2026 13:14:06 +0200
Message-ID: <b35fa2e7-f907-4e12-9df3-25aa1cf80990@desec.io>
Date: Wed, 20 May 2026 13:14:05 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: Andy Newton <andy@hxr.us>, The IESG <iesg@ietf.org>
References: <177923004209.585.3418420922155603562@dt-datatracker-7688897f84-hmm7m>
Content-Language: en-US, de-DE
From: Peter Thomassen <peter@desec.io>
Autocrypt: addr=peter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Q5CUzHMa HvM67XWgW1KqtnvNBXN9PwtDz/a9fQX1YO4CegrXv8C9Ro+LABEBAAHCwV8EGAECAAkFAlRj Vn0CGwwACgkQ79YUOj7yLS8rXA/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: <177923004209.585.3418420922155603562@dt-datatracker-7688897f84-hmm7m>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Message-ID-Hash: 47D5AZJKSPK32AF5GRCLR4HPIV5TI52G
X-Message-ID-Hash: 47D5AZJKSPK32AF5GRCLR4HPIV5TI52G
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: dnsop-chairs@ietf.org, dnsop@ietf.org, draft-ietf-dnsop-ds-automation@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [DNSOP] Re: Andy Newton's Discuss on draft-ietf-dnsop-ds-automation-08: (with DISCUSS and COMMENT)
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/bO0CX4FPyS907p0HZLF5Xilxbdo>
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 Andy,

Thank you very much for your review!

On 5/20/26 00:34, Andy Newton via Datatracker wrote:
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
[...]
> #### 5-15 Minutes
> 
> 240        2.  Parent-side entities (such as registries) SHOULD reduce a DS
> 241            record set's TTL to a value between 5–15 minutes when a new set
> 242            of records is published, and restore the normal TTL value at a
> 243            later occasion (but not before the previous DS RRset's TTL has
> 244            expired).
> 
> Why isn't this a MUST? It is a SHOULD for both behaviors (the 5-15 minute TTL)
> and the restoration of the TTL. At the very least, it seems the restoration of
> the "normal" TTL value is a MUST. However, why isn't the 5-15 minute value a
> MUST? Otherwise an operator can set it to 5 years justified with "because I
> just wanted it that way". If the SHOULD is to remain, isn't there a reasonable
> upper boundary behavior such as not being greater than the normal TTL value?

Two thoughts:

- TTLs accepted by resolvers are bounded in practice. Most do not accept arbitrarily long TTLs, as that has other security issues such as retaining a hijacked delegation beyond its actual removal. I can collect numbers if needed, but my recollection is that TTLs over 1-2d are not honored in practice.

- The above resolver-side constraint aside, parents can set whatever TTLs they want, even without DS automation. DS automation does not change that. The point of this provision in the document is to mitigate the impact of a botched DS update, not to give general recommendations about what TTLs should be used in a TLD registry. (In practice, TTLs in TLD zones vary between 1h and 48h.)

- It's not a MUST because there is no problem if the registry uses a TTL of 20 or 30 minutes permanently, for example. Also, when DS automation is performed by the registrar, the registrar may not have the ability to enforce TTL adjustment. -- Now one could say that the document should take the stance that DS automation is to be done by registries and not registrars. However, getting into that discussion was very very clearly rejected by many participants: the registries and registrars want to sort out these responsibilities between themselves. And indeed, it's a business decision, not primarily a technical one.

> Also, is "normal TTL value" the previous TTL value? If not, what does that mean?

The "normal TTL value" is indeed the "previous" one when an update is applied. However, for DS initialization, there is no previous one, so the term would only capture updates.

Happy to change to a better adjective if it's not clear (pls let me know if you have another suggestion). OTOH, this was widely reviewed in the DNS and registry space (e.g., CENTR, APTLD, DNS OARC) and it seems like the use of "normal" was generally clear to the intended audience.

> #### Both CDNSKEY and CDS
> 
> 246        3.  DNS operators SHOULD publish both CDNSKEY and CDS records, and
> 247            follow best practice for the choice of hash digest type
> 248            [DS-IANA].
> 
> Section 4.2.3 does a good job of explaining why both CDNSKEY and CDS are
> needed, so it seems the justification here is a MUST. In other words, if you
> want to interoperate, the operator MUST do this otherwise there is likely to be
> a problem.

There is no problem if the child operator knows which type of update format (CDS or CDNSKEY) the parent consumes. There would only be a problem if the parent insisted on both being published. Indeed, that provision was part of the draft, but was removed in -01 due to argument that it's not a good idea to reject an update just because a redundant format is missing.

A written record of this argument can be found at https://mailarchive.ietf.org/arch/msg/dnsop/ObpPwt5_HrmsPXE3dG8CrJUP9mg/; more feedback in that direction was gathered during an in-person workshop at DNS OARC 45.

Given these points, it seems not generally required for interoperability to publish both CDS and CDNSKEY, although if you do so you can be agnostic about the parent's preference and avoid certain risks. But, if you know what you're doing and what the parent expects, the risk goes away. Hence the SHOULD.

See also https://mailarchive.ietf.org/arch/msg/dnsop/Uv-oyqj-gp1dlfPIofct22Ijqo0/.

> #### 5.1 Recommendations
> 
> 389        1.  For certain DS updates (see analysis (Section 5.2)) and for DS
> 390            deactivation, relevant points of contact known to the parent-side
> 391            entity (registry or registrar) SHOULD be notified.
> 
> 393        2.  For error conditions, the child DNS operator and the domain's
> 394            technical contact (if applicable) SHOULD be notified first.  The
> 395            registrant SHOULD NOT be notified unless the problem persists for
> 396            a prolonged amount of time (e.g., three days).
> 
> 398        3.  Child DNS operators SHOULD be notified of errors using a report
> 399            query [RFC9567] to the agent domain as described in Section 4 of
> 400            [RFC9859].  Notifications to humans (domain holder) will be
> 401            performed in accordance with the communication preferences
> 402            established with the parent-side entity.  The same condition
> 403            SHOULD NOT be reported unnecessarily frequently to the same
> 404            recipient.
> 
> 406        4.  In the RRR model, registries performing DS automation SHOULD
> 407            inform the registrar of any DS record changes via the EPP Change
> 408            Poll Extension [RFC8590] or a similar channel.
> 
> 410        5.  The currently active DS configuration SHOULD be made accessible
> 411            to the registrant (or their designated party) through the
> 412            customer portal available for domain management.  The DS update
> 413            history MAY be made available in the same way.
> 
> These seem to be a mixture of policy recommendations and good technical
> practices. If reporting is not required for interoperation, these should
> probably all be lower case "should".
> 
> If reporting is required for proper DS automation, then at least some of this
> is a MUST.

Reporting is not required for automation; other means of detecting errors are possible (such as when the child operator monitors update success).

Indeed, https://datatracker.ietf.org/doc/statement-iesg-statement-on-clarifying-the-use-of-bcp-14-key-words/ says that normative statements not immediately needed for interoperability should not use uppercase key words. I made a note for the next revision to lowercase the key words in recommendations 1, 2, 5. As recommendations 3 and 4 pertain to using a certain protocol, I believe uppercase remains appropriate there.

> #### DS update requests
> 
> 659        2.  DS update requests SHOULD be executed immediately after
> 660            verification of their authenticity, regardless of whether they
> 661            are received in-band or via an out-of-band channel.
> 
> For proper DS automation, shouldn't this be a MUST? If not immediately, then as
> soon as possible. Or is it ok for an operator to wait 24 hours?

The publication intervals for delegation-centric zones (especially TLDs) vary greatly; some publish near-realtime, some publish zonefiles once a day. "MUST immediately" does not match the operational reality of a significant fraction of deployments.

However, we could say "MUST be executed at the next publication opportunity", or similar. Would that address your concern?

> #### SHOULD NOT initialize
> 
> 675        5.  In the RRR model, a registry SHOULD NOT automatically initialize
> 676            DS records when it is known that the registrar does not provide a
> 677            way for the domain holder to later disable DNSSEC.  If the
> 678            registrar has declared that it performs automated DS maintenance,
> 679            the registry SHOULD publish the registrar's [RFC9859]
> 680            notification endpoint (if applicable) and refrain from registry-
> 681            side DS automation.
> 
> Under what conditions are violating these SHOULD NOT/SHOULD acceptable?
> If there are conditions for doing so, the document should attempt to describe
> those conditions. Otherwise, aren't these MUST NOT and MUST?

It's a little complicated. First, about the SHOULD NOT:

At OARC 45, it was proposed to even remove this provision, because a registrant can always change registrars when they don't like that their registrar doesn't provide a way to remove a DS record when needed. That's of course not very helpful when you're already locked up in a situation where a DS record has been provisioned, and now you can't get rid of it. I'm pointing this out to illustrate that this recommendation itself (independently of which normative word is used) has only rough consensus.

At OARC 45, it was also discussed to tighten this recommendation. This was deemed unrealistic by registries as there is no protocol for a registry to discover whether a registrar provides a channel for removing a DS record. It seems impossible to design such a protocol that would be more likely to be adopted by registrars than the DS-removal channel itself. Registries present in the room therefore clearly stated that they don't want to be responsible for missing knowledge about which registrar is defective in that sense, and a tighter version did not find consensus.

OTOH, in the gTLD space, registrars are contractually obliged to provide a DS provisioning channel (which I think includes removal), so this recommendation really applies in the ccTLD space only. The scope of this recommendation (and the consequences of it being suboptimal in a way) therefore is not as broad as it might seem at first sight. The SHOULD is supposed to be a strong technical hint ("undesirable stuff happening if you don't adhere!") that takes the above consensus complications into account.

As for the SHOULD, no problems are expected if the registry does not publish the RFC9859 notification endpoint. In that case, the registrar may do CDS/CDNSKEY scanning [1][2] and all is fine. Notifications only offer a timing advantage. There is also no problem if the registry does not stop DS automation while the registrar does so as well, as DS updates are idempotent. Parallel automation therefore is unnecessary and wasteful, but not strictly an interoperability problem. For details, see Section 7.2.3 of the draft.

Examples of registrars doing CDS/CDNSKEY scanning:
[1] hourly: https://docs.glauca.digital/domains/cds/
[2] daily: https://domainname.shop/faq?id=395&section=7

> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> ## Comments
> 
> ### EPP Advertising
> 
> 309        ...  When using the Extensible
> 310        Provisioning Protocol (EPP) [RFC5730], the domain <info> command
> 311        described in Section 2.1.1.2 of [RFC9803] is available for
> 312        advertising the server's TTL policy.
> 
> The use of the word "advertising" makes me read this as information being
> provided to the public. However, EPP does not operate that way. I think should
> be reworded to say EPP can be used to make known to the registrar the
> acceptable values used by the registry.

Will do.

> ### RDAP TTLs
> 
> 410        5.  The currently active DS configuration SHOULD be made accessible
> 411            to the registrant (or their designated party) through the
> 412            customer portal available for domain management.  The DS update
> 413            history MAY be made available in the same way.
> 
> https://datatracker.ietf.org/doc/draft-ietf-regext-rdap-ttl-extension/ is also
> a good way to make the currently active TTL values available to the registrant
> or their designated party.

I will make a note in Section 5.2. My impression is that publicly stating the TTL policy would belong into DNSSEC Practice Statements, so I'd be reluctant to include it as a recommendation.

Best,
Peter