bind9/lib/ns
Matthijs Mekking 0681b15225 If refresh stale RRset times out, start stale-refresh-time
The previous commit failed some tests because we expect that if a
fetch fails and we have stale candidates in cache, the
stale-refresh-time window is started. This means that if we hit a stale
entry in cache and answering stale data is allowed, we don't bother
resolving it again for as long we are within the stale-refresh-time
window.

This is useful for two reasons:
- If we failed to fetch the RRset that we are looking for, we are not
  hammering the authoritative servers.

- Successor clients don't need to wait for stale-answer-client-timeout
  to get their DNS response, only the first one to query will take
  the latency penalty.

The latter is not useful when stale-answer-client-timeout is 0 though.

So this exception code only to make sure we don't try to refresh the
RRset again if it failed to do so recently.
2022-10-05 08:20:48 +02:00
..
include Add new recursion type for refreshing stale RRset 2022-10-05 08:20:48 +02:00
client.c Add a case-insensitive option directly to siphash 2-4 implementation 2022-10-04 10:32:40 +02:00
hooks.c Move netmgr/uv-compat.h to <isc/uv.h> 2022-05-03 10:02:19 +02:00
interfacemgr.c when creating an interface, set magic before linking 2022-09-06 17:12:14 -07:00
listenlist.c Store HTTP quota size inside a listenlist instead of the quota 2022-06-28 15:42:38 +03: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-28 14:53:02 -07:00
notify.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
query.c If refresh stale RRset times out, start stale-refresh-time 2022-10-05 08:20:48 +02:00
server.c Store HTTP quota size inside a listenlist instead of the quota 2022-06-28 15:42:38 +03:00
sortlist.c Add isc_rwlock around dns_aclenv .localhost and .localnets member 2022-04-04 19:27:00 +02: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-28 14:53:02 -07:00
update.c fix an incorrect detach in update processing 2022-09-15 10:33:42 -07:00
xfrout.c Remove dead code 2022-09-06 12:47:08 +00:00