[DNSOP] Re: Dnsdir early review of draft-ietf-dnsop-cds-consistency-05
Peter Thomassen <peter@desec.io> Wed, 09 April 2025 15:49 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 424CE19A5F41; Wed, 9 Apr 2025 08:49:23 -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 JFFUutHkV2zO; Wed, 9 Apr 2025 08:49:21 -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 1199519A5E84; Wed, 9 Apr 2025 08:49:03 -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: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=wlWfQ7JApxQ4AzwyE92H9+gFqNyDloH3yCUugizdb/I=; b=Sw9Fm+Lm4pJFLH2YB2uMvg5pYi XjdHRI4fpIoljP3Xf8nBjbqYTj8gqc5o+3+e/rYDbbqMcG2CQ7CVba5VG8H3KwKKinT4F9J4Eigxt dCfXJZjWSR4w5OyCLV+KfPvXeX7SLYVjXTt+5Bj+zS3Zv8wO/foKIVxeO+h2ijHDsR1CkcJNbpbZk C7BuCfJIZ0+iuu+3Kw9NG9NbM/dPbzWPqwb83d1U0ix7mUBIZKXMSmrTB3r9BqilXkU5jfu+Jhjld Msi2qpDv8KLbF9b5t6Z6dICmW/n9VRrH+qsHrw6nCHQfRqE9BnpMmIeHd1Qvqd7hLhiE8iNH/AatX W+W7Ce1A==;
Received: from business-90-187-67-221.pool2.vodafone-ip.de ([90.187.67.221] helo=[192.168.75.127]) 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 1u2Xfg-0000000D9NY-30La; Wed, 09 Apr 2025 17:49:00 +0200
Message-ID: <5bbbc304-30d7-43f9-94a4-276da9486608@desec.io>
Date: Wed, 09 Apr 2025 17:48:59 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: Patrick Mevzek <ietf-datatracker@ext.deepcore.org>, dnsdir@ietf.org
References: <174417140525.640622.17433097415699844929@dt-datatracker-64c5c9b5f9-hz6qg>
Content-Language: en-US, de-DE
From: Peter Thomassen <peter@desec.io>
Autocrypt: addr=peter@desec.io; keydata= xsFNBFRjVn0BEADXqtra70yxQrT4MQ9DEhN0mxG6XRAOHE6nP18mqxwSlcET7D6w+z3h4ole v0tyvUU02c2wg04X8WVfjoHnAvIa1dfUcNpB1+QmfFsw0xIJlbT1ogHkMiPQqR4ChDvE3ND/ 6YCS5+HT6hY+tfU+hpLsKw4l+u1Pg2NPVLYosET1jU84b7xhFnoicn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OqViB1SbOD2m0f 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: <174417140525.640622.17433097415699844929@dt-datatracker-64c5c9b5f9-hz6qg>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Message-ID-Hash: LIOKE7A2JMDBA4QNZMVBW5AEYZQJU7Y2
X-Message-ID-Hash: LIOKE7A2JMDBA4QNZMVBW5AEYZQJU7Y2
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@ietf.org, draft-ietf-dnsop-cds-consistency.all@ietf.org, Viktor Dukhovni <ietf-dane@dukhovni.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [DNSOP] Re: Dnsdir early review of draft-ietf-dnsop-cds-consistency-05
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/GOGe7GileagpJeEfglUywLf6X7M>
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 Patrick, Thanks for your review! :) On 4/9/25 06:03, Patrick Mevzek via Datatracker wrote: > I would add one concern/question though: > > - §3 > My reading is that, after some retries, unreachable nameserver can be removed > from consideration, and then all processing continues with the results of the > reachable nameservers. If this is correct understanding of document, it allows > someone to hijack the change as soon as it controls one nameserver (or queries > towards it) and can make the other ones unreachable. Shouldn't instead the > processing require all nameservers to be reachable? A mix of > reachable/unreachable should be considered an inconsistent state. > > I agree that this situation could happen such as the use of CSYNC is attempted > to solve it. But I believe in this case that operator/owner should go back to > the usual path of pushing nameserver changes through the registrar, to at least > remove the unreachable nameserver from the set, and then attempt CSYNC back if > desired. > > Sorry if that point was already discussed in the past. This logic was added in draft-thomassen-dnsop-cds-consistency-01 after Viktor Dukhovni pointed out [1] during the DNSOP session at IETF 114 that the mechanism needs to accommodate unreachable servers to prevent getting stuck. At the time, everyone in the room seemed OK with this. [1]: https://datatracker.ietf.org/meeting/114/materials/minutes-114-dnsop-00 I'm cc'ing Viktor in case you'd like to reconsider this aspect (but w/o a discussion will assume you're OK). > Nitpicks: > > - care was taken to always mention DS and DNSKEY together, except in this > sentence: "each nameserver can unilaterally trigger an update of the > delegation's DS or NS record set."; another solution would be, as some other > documents do, to specify at the beginning that "DS" means "DS or DNSKEY" > throughout the whole document, and then there is no need to repeat it. No; the mechanism is not for updating DNSKEY records sets. However, when a desire for updating DS records is expressed, this can be done via both CDS and CDNSKEY records, which is why *those* are always mentioned together. > - §3.2 > "(preferably in the same connection)." What does connection mean in a DNS > context? RFC7477 also don't mention that. RFC8499 on DNS terminology doesn't > define this concept. This was intended to encourage use of TCP, in the spirit of RFC 7477 Section 3.1 which says: [...] DNS over TCP SHOULD be used to avoid conversing with multiple nodes at an anycast address However, this is not an important requirement, as we're checking for consistency, and talking to different nodes may actually help identifying inconsistencies and prevent premature application of an update. I don't think it would be reasonable to require checking all anycast nodes (and there's also no way to do that), but conversely I'm now convinced there's no point in trying to attach to a particular one. As a result, I've removed the words you quoted. > - "As a consequence, the delegation's records can only be modified when > zonefiles are synchronized": zones instead of zonefiles? Good point! I've fixed that, and also two other occurrences of the same in the Appendix. > PS: any thoughts about mentioning RFC9567 and using that mechanism for the > operator to signal back to nameservers that some inconsistent state was > discovered that prevented the processing of some CDS/CDNSKEY/CSYNC records > found? That's an interesting consideration. It would require the parent to receive responses annotated with the corresponding EDNS0 option and agent domain, but the child auth has no way of knowing that it should be adding that stuff (and it probably shouldn't be added for all apex CDS/CDNSKEY/CSYNC/NS/SOA/A/AAAA responses). So, additional signaling in the parent's query would be needed, which would add quite some complexity. Luckily, the same thing is achieved when the child informs the parent about desired C* updates via generalized DNS notifications (draft-ietf-dnsop-generalized-notify, now with the RFC editor): Section 4.2.1 of that document leverages RFC 9567 to provide the parent with a report channel in case the update process fails. In my view, introducing an error reporting capability at that level is sufficient. The above changes have been incorporated in -06 which I've just submitted. Best, Peter
- [DNSOP] Dnsdir early review of draft-ietf-dnsop-c… Patrick Mevzek via Datatracker
- [DNSOP] Re: Dnsdir early review of draft-ietf-dns… Peter Thomassen