]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Upgrade guide entries and small nit 11598/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 2 May 2022 10:20:49 +0000 (12:20 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 2 May 2022 10:20:49 +0000 (12:20 +0200)
pdns/recursordist/docs/upgrade.rst
pdns/syncres.cc

index f43d3f9465a4f3a1a090657c2f8274275c6376d1..1aa07bc60735d1a7eb4b0a97daa4965ac7a6175a 100644 (file)
@@ -4,7 +4,14 @@ Upgrade Guide
 Before upgrading, it is advised to read the :doc:`changelog/index`.
 When upgrading several versions, please read **all** notes applying to the upgrade.
 
-4.6.2 to master
+4.7.0 to master
+---------------
+
+:program:`rec_control` changes
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+The ``dump-throttle`` subcommand no longer produces a table per thread, as the corresponding table now is shared by all threads.
+
+4.6.2 to 4.7.0
 ---------------
 
 Zone to Cache Changes
@@ -33,6 +40,10 @@ New settings
 - The :ref:`setting-max-busy-dot-probes` settings has been introduced, enabling the :program:`Recursor` probe for ``DoT`` support of authoritative servers.
   This is an experimental function, use with care.
 
+:program:`rec_control` changes
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+The ``dump-nsspeeds``, ``dump-failedservers`` and ``dump-non-resolving`` subcommands no longer produce a table per thread, as the corresponding tables are now shared by all threads.
+
 
 4.6.1 to 4.6.2
 --------------
index e66c7aa60fee69cfa843a2ba769327be21860833..f0d0140b93e194733acdecb00d20b771a0752ebf 100644 (file)
@@ -5060,7 +5060,7 @@ bool SyncRes::doResolveAtThisIP(const std::string& prefix, const DNSName& qname,
       if (s_serverdownmaxfails > 0 && (auth != g_rootdnsname) && s_fails.lock()->incr(remoteIP, d_now) >= s_serverdownmaxfails) {
         LOG(prefix<<qname<<": Max fails reached resolving on "<< remoteIP.toString() <<". Going full throttle for "<< s_serverdownthrottletime <<" seconds" <<endl);
         // mark server as down
-        doThrottle(d_now.tv_sec, remoteIP, g_rootdnsname, 0, s_serverdownthrottletime, 10000);
+        doThrottle(d_now.tv_sec, remoteIP, s_serverdownthrottletime, 10000);
       }
       else if (resolveret == LWResult::Result::PermanentError) {
         // unreachable, 1 minute or 100 queries