]> git.ipfire.org Git - thirdparty/bind9.git/commit
System test for nxdomain-redirect combined with dns64
authorOndřej Surý <ondrej@isc.org>
Wed, 20 May 2026 16:28:15 +0000 (18:28 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 2 Jun 2026 07:48:13 +0000 (09:48 +0200)
commit4fc5d250125d24fc8ce9586182003c5b15bb2f76
treeb9f9c60053595177dd815e7813edd3df5dd046fc
parent77fe5a3c9a8fe16604b857f3b3e96f39816e4e1c
System test for nxdomain-redirect combined with dns64

An AAAA query for a non-existent name into a view that combines
nxdomain-redirect with dns64 used to abort named via the DNS64
fallback in query_nodata(). The new module exercises all three
documented entry paths into query_redirect(): the authoritative
NXDOMAIN path (ns7, tripping INSIST(!is_zone) in
query_notfound()), the recursive NCACHENXRRSET path (ns8,
tripping REQUIRE in dns_rdataset_first() on a disassociated
rdataset), and the synth-from-dnssec path (ns10 validating
against ns9's signed root, with a primer A query so the second
AAAA reaches query_redirect() via query_coveringnsec()). ns9
serves as a neutral upstream so the cached and synthesized
negatives land real NXRRSETs.

Assisted-by: Claude:claude-opus-4-7
(cherry picked from commit 739a067de89834820372ae14171c0889f7aedc83)
15 files changed:
bin/tests/system/redirect/ns10/named.conf.j2 [new file with mode: 0644]
bin/tests/system/redirect/ns10/redirect.db [new file with mode: 0644]
bin/tests/system/redirect/ns10/root.hints [new file with mode: 0644]
bin/tests/system/redirect/ns7/named.conf.j2 [new file with mode: 0644]
bin/tests/system/redirect/ns7/redirect.db [new file with mode: 0644]
bin/tests/system/redirect/ns7/root.db [new file with mode: 0644]
bin/tests/system/redirect/ns8/named.conf.j2 [new file with mode: 0644]
bin/tests/system/redirect/ns8/root.hints [new file with mode: 0644]
bin/tests/system/redirect/ns9/named.conf.j2 [new file with mode: 0644]
bin/tests/system/redirect/ns9/redirect.db [new file with mode: 0644]
bin/tests/system/redirect/ns9/root.db.in [new file with mode: 0644]
bin/tests/system/redirect/ns9/sign.sh [new file with mode: 0644]
bin/tests/system/redirect/setup.sh
bin/tests/system/redirect/tests_redirect_dns64.py [new file with mode: 0644]
bin/tests/system/redirect/tests_sh_redirect.py