bind9/lib
Ondřej Surý 4afd5b0462
Only refresh negative cache entries that are actually stale
query_ncache() always passed a NULL rdataset to query_stale_refresh(),
which reads NULL as "this RRset is stale".  NULL is only meaningful for
the DNS64 caller, whose rdataset has already been detached by the time
the answer is turned into an NXDOMAIN; everywhere else a perfectly fresh
negative cache entry was taken for a stale one.

With stale-answer-client-timeout 0 the staleness check is the only gate
left on the refresh, so every client query for a cached NXDOMAIN or
NODATA name started another fetch and negative caching stopped having
any effect.

(cherry picked from commit 4821290c31)
2026-07-10 12:07:08 +02:00
..
dns Print the full OID in PRIVATEOID key comments 2026-07-09 14:24:18 +00:00
isc Include the brackets when parsing a URI with a IPv6 address 2026-07-07 13:24:33 +00:00
isccc
isccfg Add the tcp-reuse-timeout option 2026-06-25 11:37:51 +02:00
ns Only refresh negative cache entries that are actually stale 2026-07-10 12:07:08 +02:00
.gitignore
Makefile.am