bind9/lib
Matthijs Mekking 99c72bf5da 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.

(cherry picked from commit fa0c9280d2)
2021-01-29 10:43:41 +01:00
..
bind9 add syntax and setter/getter functions to configure max-ixfr-ratio 2021-01-26 12:38:32 +01:00
dns Update code flow in query.c wrt stale data 2021-01-29 10:43:41 +01:00
irs Use -release instead of -version-info for internal library SONAMEs 2021-01-25 15:28:09 +01:00
isc Use -release instead of -version-info for internal library SONAMEs 2021-01-25 15:28:09 +01:00
isccc Use -release instead of -version-info for internal library SONAMEs 2021-01-25 15:28:09 +01:00
isccfg Added option for disabling stale-answer-client-timeout 2021-01-29 10:38:58 +01:00
ns Update code flow in query.c wrt stale data 2021-01-29 10:43:41 +01:00
samples Add libssl libraries to Windows build 2020-12-09 10:46:16 +01:00
win32/bindevt update all copyright headers to eliminate the typo 2020-09-14 16:50:58 -07:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Kyuafile link in lib/isccc/tests/Kyuafile 2018-11-13 07:23:36 +11:00
Makefile.in remove lib/tests as nothing uses it anymore 2018-03-09 14:12:50 -08:00