From ad9344ba6aee65d8038bba6a5ce3bbe9a27968fe Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 30 Mar 2018 10:53:45 +0200 Subject: [PATCH] dnsdist: Fix two small nits on the documentation --- pdns/dnsdistdist/docs/guides/downstreams.rst | 1 + pdns/dnsdistdist/docs/reference/config.rst | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pdns/dnsdistdist/docs/guides/downstreams.rst b/pdns/dnsdistdist/docs/guides/downstreams.rst index 47666517a1..2c2b50af49 100644 --- a/pdns/dnsdistdist/docs/guides/downstreams.rst +++ b/pdns/dnsdistdist/docs/guides/downstreams.rst @@ -44,6 +44,7 @@ representing the QName, QType and QClass of the health check query as well as th representing the new QName, QType and QClass, and can directly modify the ``DNSHeader`` object. The following example sets the CD flag to true and change the QName to "powerdns.com." and the QType to AAAA while keeping the initial QClass. + .. code-block:: lua function myHealthCheck(qname, qtype, qclass, dh) diff --git a/pdns/dnsdistdist/docs/reference/config.rst b/pdns/dnsdistdist/docs/reference/config.rst index 4a82a030a8..f1989ec576 100644 --- a/pdns/dnsdistdist/docs/reference/config.rst +++ b/pdns/dnsdistdist/docs/reference/config.rst @@ -784,7 +784,7 @@ faster than the existing rules. .. function:: dynBlockRulesGroup() -> DynBlockRulesGroup - .. versionaddeded:: 1.3.0 + .. versionadded:: 1.3.0 Creates a new :class:`DynBlockRulesGroup` object. -- 2.47.2