From 38781222e1bccae61ccceefca47cd8799f572c02 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 13 Dec 2018 15:58:40 +0100 Subject: [PATCH] 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> --- pdns/recursordist/docs/lua-config/rpz.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) -- 2.47.2