mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-27 03:51:16 -05:00
since dns_qp_findname_ancestor() can now return a chain object, it is no longer necessary to provide a _NOEXACT search option. if we want to look up the closest ancestor of a name, we can just do a normal search, and if successful, retrieve the second-to-last node from the QP chain. this makes ancestor lookups slightly more complicated for the caller, but allows us to simplify the code in dns_qp_findname_ancestor(), making it easier to ensure correctness. this was a fairly rare use case: outside of unit tests, DNS_QPFIND_NOEXACT was only used in the zone table, which has now been updated to use the QP chain. the equivalent RBT feature is only used by the resolver for cache lookups of 'atparent' types (i.e, DS records). |
||
|---|---|---|
| .. | ||
| dns | ||
| isc | ||
| isccc | ||
| isccfg | ||
| ns | ||
| .gitignore | ||
| Makefile.am | ||