]> granicus.if.org Git - pdns/commitdiff
Added a quick example of a ip block on rpzMaster
authorSpirillen <44526987+spirillen@users.noreply.github.com>
Tue, 6 Nov 2018 11:12:06 +0000 (12:12 +0100)
committerGitHub <noreply@github.com>
Tue, 6 Nov 2018 11:12:06 +0000 (12:12 +0100)
Ass seen on irc guessing the right format of how to add multiply ip's to block I've added and example to reflect the right way...

pdns/recursordist/docs/lua-config/rpz.rst

index f760929d2789dcd703e4b4c9cfb29cfa00950b9f..c2d15a45868830aa4cdc68a41871224be17c444b 100644 (file)
@@ -43,7 +43,7 @@ In this example, 'policy.rpz' denotes the name of the zone to query for.
 
   Load an RPZ from AXFR and keep retrieving with IXFR.
 
-  :param str address: The IP address to transfer the RPZ from. Also accepts a list of addresses since 4.2.0 in which case they will be tried one after another in the submitted order until a response is obtained
+  :param str address: The IP address to transfer the RPZ from. Also accepts a list of addresses since 4.2.0 in which case they will be tried one after another in the submitted order until a response is obtained. List of IP shall be wrapped in ``{}`` and have ``""`` around each IP block. IP list format ex: ``{"3.3.3.3","4.4.4.4"}``
   :param str name: The name of this RPZ
   :param {} settings: A table to settings, see below