From 70f9051ead6d6d69f7c290fe752329e578ad6bbc Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 24 Feb 2022 16:00:07 +0100 Subject: [PATCH] dnsdist: Fix typos in the documentation --- pdns/dnsdistdist/docs/guides/downstreams.rst | 2 +- pdns/dnsdistdist/docs/reference/tuning.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pdns/dnsdistdist/docs/guides/downstreams.rst b/pdns/dnsdistdist/docs/guides/downstreams.rst index 2469544bb3..99458c0267 100644 --- a/pdns/dnsdistdist/docs/guides/downstreams.rst +++ b/pdns/dnsdistdist/docs/guides/downstreams.rst @@ -107,7 +107,7 @@ DNS over HTTPS should be used instead of DNS over TLS. If it is absolutely necessary to support UDP exchanges over an untrusted network, a few options have been introduced in 1.8.0 to make spoofing attempts harder: -- :func::`setRandomizedIdsOverUDP` will randomize the IDs in outgoing queries, at a small performance cost. :func:`setMaxUDPOutstanding` +- :func:`setRandomizedIdsOverUDP` will randomize the IDs in outgoing queries, at a small performance cost. :func:`setMaxUDPOutstanding` should be set at its highest possible value (default since 1.4.0) to make that setting fully efficient. - :func:`setRandomizedOutgoingSockets` can be used to randomize the outgoing socket used when forwarding a query to a backend. This requires configuring the backend to use more than one outgoing socket via the ``sockets`` parameter of :func:`newServer` diff --git a/pdns/dnsdistdist/docs/reference/tuning.rst b/pdns/dnsdistdist/docs/reference/tuning.rst index 1a8750868f..13ef726670 100644 --- a/pdns/dnsdistdist/docs/reference/tuning.rst +++ b/pdns/dnsdistdist/docs/reference/tuning.rst @@ -6,6 +6,7 @@ Tuning related functions .. versionadded:: 1.7.0 Set how often, in seconds, the outgoing DoH connections to backends of a given worker thread are scanned to expunge the ones that are no longer usable. The default is 60 so once per minute and per worker thread. + :param int interval: The interval in seconds. .. function:: setDoHDownstreamMaxIdleTime(max) -- 2.47.2