]> git.ipfire.org Git - thirdparty/bind9.git/commit
SKIP cache flush ordering on NTA expiry
authorOndřej Surý <ondrej@isc.org>
Fri, 20 Mar 2026 13:29:57 +0000 (14:29 +0100)
committerAram Sargsyan <aram@isc.org>
Mon, 23 Mar 2026 08:31:32 +0000 (08:31 +0000)
commit33d219bfe1bd50b29f49a02cdbc356f7a35a6915
treee9eb9ad4e755705286a6a44ac4a3368f5f0e8175
parentc009a48ed55bde723fbdb2b7d68761c81c354c5b
SKIP cache flush ordering on NTA expiry

dns_view_flushnode() was called in the delete_expired() async
callback, which runs after the query that detected the NTA expiry.
This created a race: the query would proceed with stale cached data
from the NTA period before the flush had a chance to run, resulting
in transient SERVFAIL with EDE 22 (No Reachable Authority).

Skip dns_view_flushnode() in the older branches as the solutions for
older branches are too complicated and this was not a critical bug.

(cherry picked from commit da8e1c956a9ae9134b2df511f0eba8efcceb77c7)
bin/tests/system/nta/tests_nta.py
lib/dns/nta.c