bind9/bin
Matthijs Mekking aaed7f9d8c Remove result exception on staleonly lookup
When implementing "stale-answer-client-timeout", we decided that
we should only return positive answers prematurely to clients. A
negative response is not useful, and in that case it is better to
wait for the recursion to complete.

To do so, we check the result and if it is not ISC_R_SUCCESS, we
decide that it is not good enough. However, there are more return
codes that could lead to a positive answer (e.g. CNAME chains).

This commit removes the exception and now uses the same logic that
other stale lookups use to determine if we found a useful stale
answer (stale_found == true).

This means we can simplify two test cases in the serve-stale system
test: nodata.example is no longer treated differently than data.example.
2021-04-02 10:02:40 +02:00
..
check Install man page for named-compilezone 2021-03-22 09:36:48 +01:00
confgen Address a Sphinx duplicate label warning 2021-02-03 11:44:02 +01:00
delv Reformat sources using clang-format-11 2020-12-08 18:36:23 +01:00
dig Update dig's man page 2021-03-25 14:08:40 -03:00
dnssec Cleanup redundant isc_rwlock_init() result checks 2021-02-03 12:22:33 +11:00
named Rekey immediately after rndc checkds/rollover 2021-03-22 11:58:26 +01:00
nsupdate Stop including gssapi.h from dst/gssapi.h header 2021-02-16 01:04:46 +00:00
pkcs11 Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
plugins Add filter-a plugin for IPv6-dominant environments 2021-03-19 08:06:55 +01:00
rndc Drop unused headers 2020-11-11 10:08:12 +01:00
tests Remove result exception on staleonly lookup 2021-04-02 10:02:40 +02:00
tools Move cleanup of queries to later in the shutdown sequence 2021-03-04 13:21:56 +01:00
win32/BINDInstall nghttp2-based HTTP layer in netmgr 2021-02-03 12:06:17 +01:00
Makefile.am Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00