From: Chris Hofstaedtler Date: Fri, 1 Aug 2025 11:18:27 +0000 (+0200) Subject: rec: test rpzPrimary instead of rpzMaster X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15955%2Fhead;p=thirdparty%2Fpdns.git rec: test rpzPrimary instead of rpzMaster Fixes 3d324e0067dcbc158a280282a5772f3309a4ef81 --- diff --git a/regression-tests.recursor-dnssec/test_RPZ.py b/regression-tests.recursor-dnssec/test_RPZ.py index 2384d7ad2..ed8e89dec 100644 --- a/regression-tests.recursor-dnssec/test_RPZ.py +++ b/regression-tests.recursor-dnssec/test_RPZ.py @@ -387,7 +387,7 @@ class RPZXFRRecursorTest(RPZRecursorTest): _confdir = 'RPZXFRRecursor' _lua_config_file = """ -- The first server is a bogus one, to test that we correctly fail over to the second one - rpzMaster({'127.0.0.1:9999', '127.0.0.1:%d'}, 'zone.rpz.', { refresh=1, includeSOA=true, dumpFile="configs/%s/rpz.zone.dump"}) + rpzPrimary({'127.0.0.1:9999', '127.0.0.1:%d'}, 'zone.rpz.', { refresh=1, includeSOA=true, dumpFile="configs/%s/rpz.zone.dump"}) """ % (rpzServerPort, _confdir) _wsPort = 8042 _wsTimeout = 2 diff --git a/regression-tests.recursor-dnssec/test_RPZIncomplete.py b/regression-tests.recursor-dnssec/test_RPZIncomplete.py index 647a7ab09..fa178300f 100644 --- a/regression-tests.recursor-dnssec/test_RPZIncomplete.py +++ b/regression-tests.recursor-dnssec/test_RPZIncomplete.py @@ -177,7 +177,7 @@ class RPZXFRIncompleteRecursorTest(RPZIncompleteRecursorTest): global badrpzServerPort _lua_config_file = """ -- The first server is a bogus one, to test that we correctly fail over to the second one - rpzMaster({'127.0.0.1:9999', '127.0.0.1:%d'}, 'zone.rpz.', { refresh=1 }) + rpzPrimary({'127.0.0.1:9999', '127.0.0.1:%d'}, 'zone.rpz.', { refresh=1 }) """ % (badrpzServerPort) _confdir = 'RPZXFRIncompleteRecursor' _wsPort = 8042