Add dns_nsec_requiredtypespresent
checks an NSEC rdataset to ensure that both NSEC and RRSIG are present in the type map. These types are required for the NSEC to be valid
This commit is contained in:
committed by
Petr Špaček
parent
571f3af6e8
commit
8ff2c133b5
@@ -7,7 +7,11 @@ minimal. 3600 SOA ns1.minimal. hostmaster.minimal. (
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
3600 NS ns1.minimal.
|
||||
3600 NSEC black.minimal. NS SOA RRSIG NSEC DNSKEY
|
||||
3600 NSEC badtypemap.minimal. NS SOA RRSIG NSEC DNSKEY
|
||||
; bad NSEC type map without RRSIG or NSEC
|
||||
badtypemap.minimal. 3600 NSEC black.minimal. A
|
||||
badtypemap.minimal. 3600 A 1.2.3.4
|
||||
badtypemap.minimal. 3600 AAAA 2002::1
|
||||
; cloudflare black lie
|
||||
black.minimal. 3600 NSEC \000.black.minimal. RRSIG NSEC
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user