Files
coredns/plugin
Umut Polat b1a7fc8db1 fix(cache): prefer positive cache over SERVFAIL in ncache (#8003)
When serve_stale is enabled, a cached SERVFAIL in ncache shadows a valid
positive entry in pcache because ncache is always checked first. SERVFAIL
is transient and should not mask a known-good answer.

When the ncache hit is a SERVFAIL, check pcache for a valid entry before
returning the SERVFAIL. NXDOMAIN and NODATA are unaffected and still
follow the existing ncache-first lookup per RFC 2308.

Fixes #7956

Signed-off-by: umut-polat <52835619+umut-polat@users.noreply.github.com>
2026-05-19 20:28:35 -07:00
..
2025-12-29 14:01:27 -08:00
2025-09-10 13:08:27 -07:00
2025-09-10 13:08:27 -07:00
2026-04-16 20:31:32 +03:00
2026-04-16 20:31:32 +03:00
2025-12-17 19:08:59 -08:00
2025-12-17 19:08:59 -08:00
2025-12-17 19:08:59 -08:00
2026-04-16 20:31:32 +03:00
2020-11-05 15:02:07 +01:00
2019-08-24 18:14:25 +00:00
2018-07-19 16:23:06 +01:00
2020-09-24 18:14:41 +02:00