]> git.ipfire.org Git - thirdparty/bind9.git/commit
Clear dns64_aaaaok immediately after use
authorEvan Hunt <each@isc.org>
Mon, 4 May 2026 05:00:39 +0000 (22:00 -0700)
committerOndřej Surý <ondrej@sury.org>
Wed, 6 May 2026 05:45:34 +0000 (07:45 +0200)
commitc17cc4fa7a2f6978a8b4bc2973b97120bd0fb98b
treee31ad742f1474efba78bec5c3f82bb94fa41014d
parentab3d96b3e3461275b6266708e0105bc6313e623a
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/filter_aaaa/ns5/named.conf.in
lib/ns/query.c