qname-minimization is active, force maxqperq to be >= 100.
if (SyncRes::s_qnameminimization) {
// With an empty cache, a rev ipv6 query with dnssec enabled takes
// almost 100 queries. Default maxqperq is 60.
- SyncRes::s_maxqperq = SyncRes::s_maxqperq * 5 / 3;
+ SyncRes::s_maxqperq = std::max(SyncRes::s_maxqperq, 100);
}
SyncRes::s_hardenNXD = SyncRes::HardenNXD::DNSSEC;
The maximum number of outgoing queries that will be sent out during the resolution of a single client query.
This is used to limit endlessly chasing CNAME redirections.
-If qname-minimization is enabled, the number will be increased to
-allow for the extra queries qname-minimization generates when the cache is empty.
+If qname-minimization is enabled, the number will be forced to be 100
+at a minimum to allow for the extra queries qname-minimization generates when the cache is empty.
.. _setting-max-negative-ttl: