bind9/lib/ns
Matthijs Mekking 76c9019403 Don't ignore auth zones when in serve-stale mode
When serve-stale is enabled and recursive resolution fails, the fallback
to lookup stale data always happens in the cache database. Any
authoritative data is ignored, and only information learned through
recursive resolution is examined.

If there is data in the cache that could lead to an answer, and this can
be just the root delegation, the resolver will iterate further, getting
closer to the answer that can be found by recursing down the root, and
eventually puts the final response in the cache.

Change the fallback to serve-stale to use 'query_getdb()', that finds
out the best matching database for the given query.

(cherry picked from commit 2322425016)
2023-10-31 13:52:08 +01:00
..
include Update the source code formatting using clang-format-17 2023-10-18 09:02:57 +02:00
client.c Remove unnecessary NULL-checks in ns__client_setup() 2023-10-02 10:04:56 +00:00
hooks.c Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
interfacemgr.c remove nonfunctional DSCP implementation 2023-01-09 14:23:26 -08:00
listenlist.c remove nonfunctional DSCP implementation 2023-01-09 14:23:26 -08:00
log.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
notify.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
query.c Don't ignore auth zones when in serve-stale mode 2023-10-31 13:52:08 +01:00
server.c Allocate DNS send buffers using dedicated per-worker memory arenas 2023-09-05 15:02:30 +02:00
sortlist.c De-duplicate __FILE__, __LINE__ 2022-10-17 16:00:26 +01:00
stats.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
update.c rr_exists should not error if the name does not exist 2023-08-30 10:05:09 +10:00
xfrout.c Implement new -T options for xfer system tests 2023-04-21 17:21:32 +02:00