]> git.ipfire.org Git - thirdparty/bind9.git/commit
Do not attach authdb
authorAlessio Podda <alessio@isc.org>
Mon, 6 Jul 2026 08:15:13 +0000 (10:15 +0200)
committerAlessio Podda <alessio@isc.org>
Fri, 17 Jul 2026 11:48:46 +0000 (11:48 +0000)
commit617deb5aabde800bb71c992fbe2ce572a7fd152d
tree39269e7446d3f32c5d0b53dbd7ef8d5d8cea04dc
parentd5388f2067d801dee3ab3e6386ecca44becfc797
Do not attach authdb

The authdb variable is used either to check that, on restarts, we
do not cross to a different zone unless recursion is enabled, and to
lookup the zone version when filling the additional section.

Neither use requires the pointer to be attached, and attaching the
pointer causes scalability issues. This commit solves the problem by
turning the pointer into an integer id.
lib/ns/client.c
lib/ns/include/ns/client.h
lib/ns/include/ns/query.h
lib/ns/query.c