]> git.ipfire.org Git - thirdparty/bind9.git/commit
Reduce the number of outgoing queries
authorOndřej Surý <ondrej@isc.org>
Thu, 23 Oct 2025 11:11:45 +0000 (13:11 +0200)
committerOndřej Surý <ondrej@isc.org>
Thu, 20 Nov 2025 12:31:11 +0000 (13:31 +0100)
commit1b90d2ffdb331dea82786c9c67d42da1879b98d8
treec7a37105f4ed44c449c58f38f16bfce989359c94
parentd091771b4245e76974e7b1ab7640d8894b8d19ad
Reduce the number of outgoing queries

The dns_resolver mode of operation is to resolve all the domains as it
iterates the DNS tree to fill up the cache as quickly as possible.

This commit reduces the number of outgoing queries by reducing the
number of remote fetches started for the nameserver addresses resolution
via dns_adb_createfind() to a smaller number per depth of the recursion
since the delegation point (3 2 1 0) - where 0 means only create fetch
on demand if we don't have any addresses yet.
bin/tests/system/resolver/tests.sh
lib/dns/resolver.c