]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: test rpzPrimary instead of rpzMaster 15955/head
authorChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Fri, 1 Aug 2025 11:18:27 +0000 (13:18 +0200)
committerChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Fri, 1 Aug 2025 11:18:56 +0000 (13:18 +0200)
Fixes 3d324e0067dcbc158a280282a5772f3309a4ef81

regression-tests.recursor-dnssec/test_RPZ.py
regression-tests.recursor-dnssec/test_RPZIncomplete.py

index 2384d7ad2b9055d2882ff9fa89fba76bf899180f..ed8e89decc9ec3d6fd94a8bd8ac25b60f086e2e2 100644 (file)
@@ -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
index 647a7ab090b3c4d0d90858357306b1e355e2e469..fa178300f7d90c55543a75ff35576d27da0d5aac 100644 (file)
@@ -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