]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Restore max-recursion-queries default to 100
authorMichal Nowak <mnowak@isc.org>
Thu, 7 May 2026 09:57:03 +0000 (09:57 +0000)
committerOndřej Surý <ondrej@isc.org>
Thu, 7 May 2026 13:14:06 +0000 (15:14 +0200)
The 32-query default backported from 9.18+ assumed a max-query-count=200
backstop that 9.11 doesn't have, so every EDNS/cookie/TCP resend ate
into the per-fetch budget; respdiff vs 9.11.24 showed ~5%
NOERROR→SERVFAIL on normal recursion. Restoring the pre-tightening 100
keeps the runaway-loop guard with headroom to spare.

bin/named/config.c

index 445d0d7f570f4f83fafe3aa56ece1a4118592713..5768f0d32f4324362f7d0143a789214a39dd8510 100644 (file)
@@ -185,7 +185,7 @@ options {\n\
        max-clients-per-query 100;\n\
        max-ncache-ttl 10800; /* 3 hours */\n\
        max-recursion-depth 7;\n\
-       max-recursion-queries 32;\n\
+       max-recursion-queries 100;\n\
        max-query-restarts 11;\n\
        message-compression yes;\n\
 #      min-roots <obsolete>;\n\