]> git.ipfire.org Git - thirdparty/bind9.git/commit
attach query counter to NS fetches
authorEvan Hunt <each@isc.org>
Wed, 22 May 2024 20:02:16 +0000 (13:02 -0700)
committerEvan Hunt <each@isc.org>
Wed, 7 Aug 2024 21:51:44 +0000 (14:51 -0700)
commit5ab4cae4ed5c2f7b8509a0dfcbadbc727abecf36
treec841e62aa25ddbd9c4b49e9ca08d459c09b176aa
parent3da167b241b51ef0ccc72860ca4763db4ad773b4
attach query counter to NS fetches

there were cases in resolver.c when queries for NS records were
started without passing a pointer to the parent fetch's query counter;
as a result, the max-recursion-queries quota for those queries started
counting from zero, instead of sharing the limit for the parent fetch,
making the quota ineffective in some cases.

(cherry picked from commit d3b7e92783754e9a4ce93046fadcb96c5439a0d7)
lib/dns/resolver.c