Commit 16645de4bf for bind
commit 16645de4bf39626027b2d9b45dfb8cfd05bd42ec
Author: Štěpán Balážik <stepan@isc.org>
Date: Mon Oct 26 12:24:43 2026 +0100
Forge the covering NSEC without the SOA bit
The forged NSEC for attacker.f004.test carried an apex type bitmap, so
it claimed to start a zone of its own and the resolver never used it to
deny victim.f004.test, with the fix or without it: the pending-trust
test passed with the fix reverted. With an ordinary bitmap it fails
without the fix and passes with it.
Assisted-by: Claude:claude-fable-5-1
diff --git a/bin/tests/system/nsec_synthesis/ans1/ans.py b/bin/tests/system/nsec_synthesis/ans1/ans.py
index 8617fcf283..f4777c5651 100644
--- a/bin/tests/system/nsec_synthesis/ans1/ans.py
+++ b/bin/tests/system/nsec_synthesis/ans1/ans.py
@@ -28,7 +28,7 @@ class AttackCoveringNsecHandler(AttackNsecHandler):
matcher = (
Qname("attacker.f004.test.") & Qtype(dns.rdatatype.NSEC) & Flags(dns.flags.CD)
)
- nsec = "b.victim.f004.test. NS SOA RRSIG NSEC DNSKEY"
+ nsec = "b.victim.f004.test. A RRSIG NSEC"
class AttackNodataNsecHandler(AttackNsecHandler):