dns.dnssec.validate_nsec3_wildcard

dns.dnssec

validate_nsec3_wildcard(nsec3_records, zone, qname, encloser) -> ok, err, insecure

Validate NSEC3 proves no closer name hides behind a wildcard answer

The proof of RFC 5155 §8.8 for an answer expanded from the wildcard right under encloser, from the NSEC3 records of zone. A record must cover the next closer name, the ancestor of qname one label below encloser. The wildcard's RRSIG already shows that encloser exists, so no record has to match it.

insecure is true when the answer reads insecure: the record that covers the next closer name has the opt-out flag set, so an unsigned delegation may sit there, or the iteration count is over NSEC3_MAX_ITERATIONS.