From: Otto Moerbeek Date: Tue, 12 Apr 2022 07:31:18 +0000 (+0200) Subject: Apply suggestions from code review X-Git-Tag: rec-4.7.0-beta1^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f44142a76af01d0893dd769bad43d1c0fae65eaa;p=thirdparty%2Fpdns.git Apply suggestions from code review Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/pdns/recursordist/docs/settings.rst b/pdns/recursordist/docs/settings.rst index 46d65110f1..8c72a3e531 100644 --- a/pdns/recursordist/docs/settings.rst +++ b/pdns/recursordist/docs/settings.rst @@ -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. diff --git a/pdns/recursordist/rec-taskqueue.cc b/pdns/recursordist/rec-taskqueue.cc index f1e7c5c05b..b56e404ffb 100644 --- a/pdns/recursordist/rec-taskqueue.cc +++ b/pdns/recursordist/rec-taskqueue.cc @@ -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;