]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add dnssec_py/tests_sibling_ds: reject DS for sibling zones in referrals 11837/head
authorNicki Křížek <nicki@isc.org>
Mon, 13 Apr 2026 12:55:54 +0000 (12:55 +0000)
committerMark Andrews <marka@isc.org>
Thu, 25 Jun 2026 05:21:00 +0000 (15:21 +1000)
commita2b9dcff540ff257621997a09d4484651d1c98ed
tree2cbf43dd94a229695a2aa476e91b5c86d01862ae
parent95a268f119623f8106f4ed24a39ec180708b5576
Add dnssec_py/tests_sibling_ds: reject DS for sibling zones in referrals

Add a system test that verifies the resolver rejects DS records whose
owner name does not match the delegation (NS) name in a referral
response.

A custom authoritative server (ans4) serves the parent zone sibling-ds.
from zone file with delegations for child and sibling subzones.  Its
DomainHandler injects a DS record for sibling.sibling-ds into referrals
for child.sibling-ds.  The resolver must detect the mismatch, log "DS
doesn't match referral (NS)", and return SERVFAIL.

Assisted-by: Claude:claude-opus-4-8
bin/tests/system/dnssec_py/ans4/ans.py [new file with mode: 0644]
bin/tests/system/dnssec_py/common.py
bin/tests/system/dnssec_py/tests_sibling_ds.py [new file with mode: 0644]