]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix typos in the documentation 9874/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 15 Dec 2020 11:47:07 +0000 (12:47 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 15 Dec 2020 11:47:07 +0000 (12:47 +0100)
pdns/dnsdistdist/docs/advanced/acl.rst
pdns/dnsdistdist/docs/rules-actions.rst

index 5b4910295f3acb01ef0f5b2d1cd2bfb65f3e01ed..72e7611cdaaa25ba755ca67a31fcbcb46a09b666 100644 (file)
@@ -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')
 
index 3ab1e3c6a2797a12bb8b22947db4c8bb48c61cc4..3bfa7f153f324d693f1c59cd3133c36dd94babdd 100644 (file)
@@ -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.