On Thu, Nov 19, 2026 at 7:01 AM Shumon Huque <[email protected]> wrote:

>
> Yes, this text was a bit hurriedly put together during the last IETF and
> was probably not clear enough. Your clarifying sentence will probably help
> - but I'll read the full text and see if I can propose a more clear overall
> rewrite.
>
> The key point is that (for names under a DELEG only delegation point) a
> DE=1 stripping MITM adversary could replay a normal NXNAME response back to
> a DE=1 querier and that querier would then have no proof that a DELEG
> delegation existed above it. This would defeat the downgrade resistance
> property of the spec.
>

I just walked through this issue in detail with David Blacka who suggested
we needed an example to make this more comprehensible (as well as a clearer
upfront rationale in the draft). I will propose text later, but here's an
example (from my own deleg implementation), with annotated details ..

Shumon.

SETUP SUMMARY:
* deleg.huque.com is a DELEG enabled delegating parent zone which uses
Compact Denial of Existence (RFC 9824)
* The IP address of its nameserver is 3.220.103.22
* sub5.deleg.huque.com is a DELEG-only delegation (no NS records). To keep
things simple, it also has no DS records (though I have other example
delegations that do).
* foo.sub5.deleg.huque.com is a name underneath the DELEG only delegation
(which may or may not exist).

#
# DE=1 Query to deleg.huque.com authority server for
# "foo.sub5.deleg.huque.com.
#
# Returns a DELEG referral (TYPE 61440) to the child zone
sub5.deleg.huque.com
#

$ dig @3.220.103.22 +dnssec +bufsize=1400 +ednsflags=0x2000
foo.sub5.deleg.huque.com

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17422
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 4, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; MBZ: 0x2000, udp: 1232
;; QUESTION SECTION:
;foo.sub5.deleg.huque.com.      IN      A

;; AUTHORITY SECTION:
sub5.deleg.huque.com.   3600    IN      TYPE61440 \# 84
0003005004646E733103703031056E736F6E65036E65740004646E73
3203703031056E736F6E65036E65740004646E733303703031056E73
6F6E65036E65740004646E733403703031056E736F6E65036E657400
sub5.deleg.huque.com.   3600    IN      RRSIG   TYPE61440 13 4 3600
20261121161417 20261119161417 64677 deleg.huque.com.
ifGm27AXFEpmYczwhqMkxtCPJC4qBi7FQ/pKt8HKQGum6SoUV9q3GuzV
HgRXAfw3m1jxHjcN+9H7P/tl87YqOw==
sub5.deleg.huque.com.   3600    IN      NSEC    sub5\000.deleg.huque.com.
RRSIG NSEC TYPE61440
sub5.deleg.huque.com.   3600    IN      RRSIG   NSEC 13 4 3600
20261121161417 20261119161417 64677 deleg.huque.com.
pLMNRwC62T3RnH076h6rmRboHV4tFbUYyUav02atgItbvBuf8z9MZ5Hr
Mk92sfRpWhIg5dv4p2obtH86D6DyPw==


#
# DE=0 Query to deleg.huque.com authority server for
# "foo.sub5.deleg.huque.com.
#
# Returns a conventional NXDOMAIN response (rather than a normal NXNAME
# response). It contains only 1 NSEC record matching the delegation
# point (which is the closest encloser) that demonstrates via its Type
# Bitmaps field that the delegation point name had a DELEG RRset.
# Structurally this single NSEC (sub5 -> sub5\000) does double duty and
# covers both the non-existent qname and the wildcard at closest encloser,
# as both foo.sub5 and *.sub5 fit within the NSEC span, and hence continues
# to satisfy the CDOE goal of minimizing NSEC records and response sizes.
#
# A traditional NXNAME response would have a single NXNAME bearing
# NSEC record of the form [foo.sub5 -> \000.foo.sub5], which could make
# no assertions about the delegation point name and what records existed
# at that name. If an adversary could strip the DE bit and cause such a
# response to be relayed to a DE=1 querier, it would defeat the DELEG
# downgrade resistance property (as well as mounting a denial of service
# attack on the querier of course). Arguably, this is one of unintended
# consequences of CDOE attempting to change the semantics of NXDOMAIN,
# but I'll leave that argument for another day ...
#


$ dig @3.220.103.22 +dnssec +bufsize=1400 foo.sub5.deleg.huque.com

;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 33433
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 4, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 1232
; EDE: 34: (New Delegation Only)
;; QUESTION SECTION:
;foo.sub5.deleg.huque.com.      IN      A

;; AUTHORITY SECTION:
deleg.huque.com.        3600    IN      SOA     mname.deleg.huque.com.
hostmaster.huque.com. 1000000001 43200 3600 3628800 3600
deleg.huque.com.        3600    IN      RRSIG   SOA 13 3 86400
20261121051340 20261119051340 64677 deleg.huque.com.
X6tQg9EaqcEMKQ5XJFoGXXVK5Ki9ONAOp1xrOxRflK7HuXvBhxsY3s+Z
CVBsuzoRRWwN6hfOyiOLlHcM+a6kqw==
sub5.deleg.huque.com.   3600    IN      NSEC    sub5\000.deleg.huque.com.
RRSIG NSEC TYPE61440
sub5.deleg.huque.com.   3600    IN      RRSIG   NSEC 13 4 3600
20261121161417 20261119161417 64677 deleg.huque.com.
pLMNRwC62T3RnH076h6rmRboHV4tFbUYyUav02atgItbvBuf8z9MZ5Hr
Mk92sfRpWhIg5dv4p2obtH86D6DyPw==
_______________________________________________
DNSOP mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to