bind9/bin/tests/system/checkzone
Evan Hunt 628fa8a3d6 make the qpzone database loadable
add database API methods needed for loading rdatasets into memory
(currentversion, beginload, endload), plus the methods used by
zone_postload() for zone consistency checks (getoriginnode, find,
findnode, findrdataset, attachnode, detachnode, deletedata).

the QP trie doesn't support the find callback mechanism available
in dns_rbt_findnode() which allows examination of intermediate nodes
while searching, so the detection of wildcard and delegation nodes
is now done by scanning QP chains after calling dns_qp_lookup().

Note that the lookup in previous_closest_nsec() cannot return
ISC_R_NOTFOUND. In RBTDB, we checked for this return value and
ovewrote the result with ISC_R_NOMORE if it occurred. In the
qpzone implementation, we insist that this return value cannot happen.
dns_qp_lookup() would only return ISC_R_NOTFOUND if we asked for a
name outside the zone's authoritative domain, and we never do that
when looking up a predecessor NSEC record.

named-checkzone is now able to load a zone and check it for errors,
but cannot dump it.
2024-03-08 15:36:49 -08:00
..
zones make the qpzone database loadable 2024-03-08 15:36:49 -08:00
clean.sh Remove the lock-file configuration and -X argument to named 2023-10-26 22:42:37 +02:00
setup.sh Reformat shell scripts with shfmt 2023-10-26 10:23:50 +02:00
tests.sh Reformat shell scripts with shfmt 2023-10-26 10:23:50 +02:00
tests_sh_checkzone.py Add pytest functions for shell system tests 2023-05-22 14:11:39 +02:00