From 2fa95fb658bd69c7c1ce496ca736664ba45b3c7b Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 15 Dec 2020 12:47:07 +0100 Subject: [PATCH] dnsdist: Fix typos in the documentation --- pdns/dnsdistdist/docs/advanced/acl.rst | 2 +- pdns/dnsdistdist/docs/rules-actions.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/dnsdistdist/docs/advanced/acl.rst b/pdns/dnsdistdist/docs/advanced/acl.rst index 5b4910295f..72e7611cda 100644 --- a/pdns/dnsdistdist/docs/advanced/acl.rst +++ b/pdns/dnsdistdist/docs/advanced/acl.rst @@ -61,7 +61,6 @@ To remove a previously added network range from the existing ACL, use :func:`rmA dnsdist also has the :func:`setACL` function that accepts a list of netmasks and resets the ACL to that list: - .. code-block:: lua setACL({'192.0.2.0/25', '2001:db8:15::bea/64'}) @@ -70,5 +69,6 @@ dnsdist also has the :func:`setACL` function that accepts a list of netmasks and To set the ACL from a file containing a list of netmasks, use :func:`setACLFromFile`: .. code-block:: lua + setACLFromFile('/etc/dnsdist/query.acl') diff --git a/pdns/dnsdistdist/docs/rules-actions.rst b/pdns/dnsdistdist/docs/rules-actions.rst index 3ab1e3c6a2..3bfa7f153f 100644 --- a/pdns/dnsdistdist/docs/rules-actions.rst +++ b/pdns/dnsdistdist/docs/rules-actions.rst @@ -1357,7 +1357,7 @@ The following actions exist. Added the optional parameter ``options``. .. versionchanged:: 1.6.0 - Up to 1.6.0, the syntax for this function was ``SpoofAction(ips[, ip[, options]]). + Up to 1.6.0, the syntax for this function was ``SpoofAction(ips[, ip[, options]])``. Forge a response with the specified IPv4 (for an A query) or IPv6 (for an AAAA) addresses. If you specify multiple addresses, all that match the query type (A, AAAA or ANY) will get spoofed in. -- 2.47.2