bind9/lib
Matthijs Mekking fa0c9280d2 Update code flow in query.c wrt stale data
First of all, there was a flaw in the code related to the
'stale-refresh-time' option. If stale answers are enabled, and we
returned stale data, then it was assumed that it was because we were
in the 'stale-refresh-time' window. But now we could also have returned
stale data because of a 'stale-answer-client-timeout'. To fix this,
introduce a rdataset attribute DNS_RDATASETATTR_STALE_WINDOW to
indicate whether the stale cache entry was returned because the
'stale-refresh-time' window is active.

Second, remove the special case handling when the result is
DNS_R_NCACHENXRRSET. This can be done more generic in the code block
when dealing with stale data.

Putting all stale case handling in the code block when dealing with
stale data makes the code more easy to follow.

Update documentation to be more verbose and to match then new code
flow.
2021-01-25 10:48:16 -03:00
..
bind9 Use -release instead of -version-info for internal library SONAMEs 2021-01-25 14:19:53 +01:00
dns Update code flow in query.c wrt stale data 2021-01-25 10:48:16 -03:00
irs Use -release instead of -version-info for internal library SONAMEs 2021-01-25 14:19:53 +01:00
isc Use -release instead of -version-info for internal library SONAMEs 2021-01-25 14:19:53 +01:00
isccc Use -release instead of -version-info for internal library SONAMEs 2021-01-25 14:19:53 +01:00
isccfg Added option for disabling stale-answer-client-timeout 2021-01-25 10:47:14 -03:00
ns Update code flow in query.c wrt stale data 2021-01-25 10:48:16 -03:00
samples Add libssl libraries to Windows build 2020-11-09 16:00:28 +01:00
win32/bindevt update all copyright headers to eliminate the typo 2020-09-14 16:20:40 -07:00
.gitignore Provide unit test driver 2020-05-21 12:13:01 +02:00
Makefile.am Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
unit-test-driver.sh.in Provide unit test driver 2020-05-21 12:13:01 +02:00