]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Apply suggestions from code review
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 12 Apr 2022 07:31:18 +0000 (09:31 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 12 Apr 2022 11:39:43 +0000 (13:39 +0200)
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
pdns/recursordist/docs/settings.rst
pdns/recursordist/rec-taskqueue.cc

index 46d65110f1fd80042e6c8912ca4ae10571aaea46..8c72a3e531b68100cb1c71bc6d4ee17f449eadf1 100644 (file)
@@ -1081,7 +1081,7 @@ The default value 0 means no DoT probes are scheduled.
 DoT probes are used to check if an authoritative server's IP address supports DoT.
 If the probe determines an IP address supports DoT, the Recursor will use DoT to contact it for subsequent queries.
 The results of probes are remembered and can be viewed by the ``rec_control dump-dot-probe-map`` command.
-If the maximum number of pending probes is reached, no probe wil be scheduled, even if no DoT status is known for an address.
+If the maximum number of pending probes is reached, no probes will be scheduled, even if no DoT status is known for an address.
 If the result of a probe is not yet available, the Recursor will contact the authoritative server in the regular way,
 unless an authoritative server is configured to be contacted over DoT always using :ref:`setting-dot-to-auth-names`.
 In that case no probe will be scheduled.
index f1e7c5c05bf4db61ada914863d07c553832e6a11..b56e404ffb1a0b037fb2e0b22ad5f6ecbb98eb85 100644 (file)
@@ -194,7 +194,7 @@ static void tryDoT(const struct timeval& now, bool logErrors, const pdns::Resolv
     }
   }
   catch (...) {
-    log->error(Logr::Error, msg, "Unexpectec exception");
+    log->error(Logr::Error, msg, "Unexpected exception");
   }
   if (ex) {
     ++s_resolve_tasks.exceptions;