summaryrefslogtreecommitdiffstats
path: root/tests-extra/tools/dnstest
diff options
context:
space:
mode:
authorLibor Peltan <libor.peltan@nic.cz>2020-11-27 13:52:43 +0100
committerDaniel Salzman <daniel.salzman@nic.cz>2023-10-18 21:36:22 +0200
commit5a7a008ed01638dee6dddfb3f88f3691b7d1bdd1 (patch)
treeeae21cf19dc10b6cc0389f9e61015271e4b90083 /tests-extra/tools/dnstest
parentIXFR: benevolent ignorance of add/rem non/existing records (diff)
downloadknot-5a7a008ed01638dee6dddfb3f88f3691b7d1bdd1.tar.xz
knot-5a7a008ed01638dee6dddfb3f88f3691b7d1bdd1.zip
IXFR: configurable benevolent IXFR
Diffstat (limited to 'tests-extra/tools/dnstest')
-rw-r--r--tests-extra/tools/dnstest/server.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests-extra/tools/dnstest/server.py b/tests-extra/tools/dnstest/server.py
index f27b011ed..53e5d4ebc 100644
--- a/tests-extra/tools/dnstest/server.py
+++ b/tests-extra/tools/dnstest/server.py
@@ -191,6 +191,7 @@ class Server(object):
self.zonefile_load = None
self.zonemd_verify = None
self.zonemd_generate = None
+ self.ixfr_benevolent = None
self.ixfr_by_one = None
self.ixfr_from_axfr = None
self.journal_db_size = 20 * 1024 * 1024
@@ -1684,8 +1685,10 @@ class Knot(Server):
self._str(s, "ddns-master", self.ddns_master)
s.item_str("journal-content", z.journal_content)
- self._str(s, "ixfr-by-one", self.ixfr_by_one)
- self._str(s, "ixfr-from-axfr", self.ixfr_from_axfr)
+ self._bool(s, "ixfr-benevolent", self.ixfr_benevolent)
+ self._bool(s, "ixfr-by-one", self.ixfr_by_one)
+ self._bool(s, "ixfr-from-axfr", self.ixfr_from_axfr)
+ self._bool(s, "provide-ixfr", self.provide_ixfr)
if z.reverse_from:
s.item_str("reverse-generate", z.reverse_from.name)
@@ -1702,7 +1705,6 @@ class Knot(Server):
elif z.ixfr:
s.item_str("zonefile-load", "difference")
- self._bool(s, "provide-ixfr", self.provide_ixfr)
self._str(s, "master-pin-tolerance", self.master_pin_tol)
if z.catalog_role == ZoneCatalogRole.GENERATE: