]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Change isctest.kasp.dnssec_verify to take FQDN
authorMatthijs Mekking <matthijs@isc.org>
Thu, 30 Apr 2026 08:20:43 +0000 (10:20 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 1 May 2026 06:18:36 +0000 (08:18 +0200)
This is required to AXFR and verify the root zone and it makes no
difference for non-root zones (dnssec-verify takes FQDN or makes the
provided name absolute).

bin/tests/system/isctest/kasp.py

index 1d4e8e6752041fb1599d0db2c5120ab56030f502..e6f7bad8f76b5454c99cda8eed1e2d2e195d7b31 100644 (file)
@@ -935,7 +935,7 @@ def check_dnssec_verify(server, zone, tsig=None):
                     file.write(rr.to_text())
                     file.write("\n")
 
-            verify_command = [os.environ.get("VERIFY"), "-z", "-o", zone, zonefile]
+            verify_command = [os.environ.get("VERIFY"), "-z", "-o", fqdn, zonefile]
             verified = isctest.run.cmd(verify_command, raise_on_exception=False)
             if verified.rc == 0:
                 return