validate_nsec3_nodata(
nsec3_records,zone,qname,qtype) ->ok,err,insecure
Validate NSEC3 proves NODATA for qname/qtype
The proofs of RFC 5155 §8.5 to §8.7, from the NSEC3 records of zone.
A record that matches the hash of qname must have the queried type and
CNAME clear. For a type other than DS it must not be the parent side of a
delegation, with NS set and SOA clear. For DS it must not be the child
side of a zone cut, with SOA set: a DS lives on the parent side. The root
has no parent, and its record proves that it has no DS.
With no such record, a closest encloser proof must hold. For DS, the record that covers the next closer name must have the opt-out flag set. For any other type, a record must match the wildcard at the closest encloser, with the queried type and CNAME clear.
insecure is true when the response reads insecure: the proof runs
through an opt-out span (RFC 5155 §9.2), or the iteration count is over
NSEC3_MAX_ITERATIONS.