From: Spirillen <44526987+spirillen@users.noreply.github.com> Date: Tue, 6 Nov 2018 11:12:06 +0000 (+0100) Subject: Added a quick example of a ip block on rpzMaster X-Git-Tag: auth-4.2.0-alpha1~53^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa08efdabcc69648a282779bb172e4c96fbc6a5a;p=pdns Added a quick example of a ip block on rpzMaster 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... --- diff --git a/pdns/recursordist/docs/lua-config/rpz.rst b/pdns/recursordist/docs/lua-config/rpz.rst index f760929d2..c2d15a458 100644 --- a/pdns/recursordist/docs/lua-config/rpz.rst +++ b/pdns/recursordist/docs/lua-config/rpz.rst @@ -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