]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fail promptly on an RRSIG answer with no usable record
authorOndřej Surý <ondrej@isc.org>
Fri, 29 May 2026 15:43:54 +0000 (17:43 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 29 May 2026 20:01:29 +0000 (22:01 +0200)
commit938b58a809eff49e706984cccba1cfc42ed890c3
treef79f3d19ed3479c586df88a3b7c63164a5d1fb3f
parentd0c6219d66e9b5742d0d7d8cb66752828880d74f
Fail promptly on an RRSIG answer with no usable record

A query for an RRSIG is handled as a subset of ANY, so rctx_answer_any()
filters out records that do not match the queried type. When every
record was filtered out (an answer carrying only unrelated types), the
function still returned success with nothing cached, and the fetch then
waited for a validator that was never started until the backstop fetch
timer fired ~12s later. Treat an all-filtered answer as a broken
response, matching how non-meta types already reject a reply with no
usable record.
lib/dns/resolver.c