From: Remi Gacogne Date: Thu, 13 Dec 2018 14:58:40 +0000 (+0100) Subject: Update pdns/recursordist/docs/lua-config/rpz.rst X-Git-Tag: rec-4.2.0-alpha1~46^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38781222e1bccae61ccceefca47cd8799f572c02;p=thirdparty%2Fpdns.git Update pdns/recursordist/docs/lua-config/rpz.rst Not bad at all, I'll buy it :) Co-Authored-By: spirillen <44526987+spirillen@users.noreply.github.com> --- diff --git a/pdns/recursordist/docs/lua-config/rpz.rst b/pdns/recursordist/docs/lua-config/rpz.rst index 5d37f7e504..14a08469d4 100644 --- a/pdns/recursordist/docs/lua-config/rpz.rst +++ b/pdns/recursordist/docs/lua-config/rpz.rst @@ -28,7 +28,7 @@ To slave from a master and start IXFR to get updates, use for example: In this example, 'policy.rpz' denotes the name of the zone to query for. -New in version 4.2.0: You can add several IP blocks into the :func:`rpzMaster` for backends failover and load balancing per zones as an comma seperated array with ip addresses enclosed in "" (double quotes) and add optional port: +As of version 4.2.0, the first parameter of :func:`rpzMaster` can be a list of addresses for failover: rpzMaster({"192.0.2.4","192.0.2.5:5301"}, "policy.rpz", {defpol=Policy.Drop})