]> git.ipfire.org Git - thirdparty/bind9.git/commit
add support for EDE 20 (Not Authoritative)
authorColin Vidal <colin@isc.org>
Wed, 12 Mar 2025 09:28:27 +0000 (10:28 +0100)
committerColin Vidal <colin@isc.org>
Thu, 13 Mar 2025 10:16:01 +0000 (11:16 +0100)
commit24ffbdcfea32b7f3c3feceba23cfc4bf474a1fa3
treec3d543aafa0cfb0c9f8ffd815515205e45bfb5e8
parente66dc07c682e47bc5de3cfab8600c797c5759201
add support for EDE 20 (Not Authoritative)

Extended DNS Error message EDE 20 (Not Authoritative) is now sent when
client request recursion (RD) but the server has recursion disabled.

RFC 8914 mention EDE 20 should also be returned if the client doesn't
have the RD bit set (and recursion is needed) but it doesn't apply for
BIND as BIND would try to resolve from the "deepest" referral in
AUTHORITY section. For example, if the client asks for "www.isc.org/A"
but the server only knows the root domain, it will returns NOERROR but
no answer for "www.isc.og/A", just the list of other servers to ask.
lib/ns/query.c