]> git.ipfire.org Git - thirdparty/bind9.git/commit
Clear dns64_aaaaok immediately after use 11967/head
authorEvan Hunt <each@isc.org>
Mon, 4 May 2026 05:00:39 +0000 (22:00 -0700)
committerOndřej Surý (GitLab job 7314636) <ondrej@isc.org>
Wed, 6 May 2026 04:47:07 +0000 (04:47 +0000)
commitd42b3e7b91015ccfb455e27de20adf985ab14ec6
tree4c58fb3f3741a06de2fcbc6b3148cc33e6824081
parentddea991c073bbcf15e38c547ad73a3b1491704c0
Clear dns64_aaaaok immediately after use

The DNS64 state information stored in client->query.dns64_aaaaok
could cause an assertion failure in query_respond() if the server
was configured in such a way as to trigger a new recursion before
the query had been reset - for example, by using the filter-aaaa
plugin, which may need to recurse to find out whether an A record
exists.

This has been addressed by clearing DNS64 state information
immediately after the call to query_filter64().

(cherry picked from commit 7213b038f0beb2f4750b858113af1f9e18ae0520)
bin/tests/system/filters/ns1/unsigned.db
bin/tests/system/filters/ns4/unsigned.db
bin/tests/system/filters/ns5/named.conf.j2
bin/tests/system/filters/tests_filter_dns64.py
lib/ns/query.c