bind9/lib
Michał Kępień 8d996fd79c Fall back to normal recursion when mirror zone data is unavailable
If transferring or loading a mirror zone fails, resolution should still
succeed by means of falling back to regular recursive queries.
Currently, though, if a slave zone is present in the zone table and not
loaded, a SERVFAIL response is generated.  Thus, mirror zones need
special handling in this regard.

Add a new dns_zt_find() flag, DNS_ZTFIND_MIRROR, and set it every time a
domain name is looked up rather than a zone itself.  Handle that flag in
dns_zt_find() in such a way that a mirror zone which is expired or not
yet loaded is ignored when looking up domain names, but still possible
to find when the caller wants to know whether the zone is configured.
This causes a fallback to recursion when mirror zone data is unavailable
without making unloaded mirror zones invisible to code checking a zone's
existence.
2018-06-28 13:38:39 +02:00
..
bind9 construct a symtab of valid in-view targets then check that the target exists 2018-06-26 08:23:51 -07:00
dns Fall back to normal recursion when mirror zone data is unavailable 2018-06-28 13:38:39 +02:00
irs address win32 build issues 2018-05-22 16:32:21 -07:00
isc Use completely static-sized buffers 2018-06-26 17:41:18 +02:00
isccc address win32 build issues 2018-05-22 16:32:21 -07:00
isccfg Add new "mirror" slave zone option 2018-06-28 13:38:39 +02:00
ns Fall back to normal recursion when mirror zone data is unavailable 2018-06-28 13:38:39 +02:00
samples address win32 build issues 2018-05-22 16:32:21 -07:00
win32/bindevt address win32 build issues 2018-05-22 16:32:21 -07:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Atffile [master] add libns and remove liblwres 2017-09-08 13:47:34 -07:00
Kyuafile regen master 2017-12-29 01:44:18 +00:00
Makefile.in remove lib/tests as nothing uses it anymore 2018-03-09 14:12:50 -08:00