]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Adjust NOTIFY(CDS) system test
authorMatthijs Mekking <matthijs@isc.org>
Thu, 9 Jul 2026 11:57:00 +0000 (13:57 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Wed, 15 Jul 2026 08:19:28 +0000 (08:19 +0000)
Current system tests cover a mixed RRset in but the unsupported and
supported records use the same target and port, so the test does not
catch that the wrong port and target are being used for the supported
type.

Change the test such that the supported DSYNC record is followed
by the unsupported ones, and use different port and target for
supported and unsupported DSYNC records.

bin/tests/system/multisigner/ns2/secondary.db.in.j2

index 3a39d4ae16530a6ed3d8d0c41db2c65acaf4c6e0..3f0175b5847acdd28fd095dce387d9db65cabbb7 100644 (file)
@@ -13,6 +13,7 @@ secondary.            IN      SOA  mname1. . (
 ns2                    A       10.53.0.2
 
 scanner                        A       10.53.0.2
+bad-scanner            A       6.6.6.6
 
 model2                 NS      ns3
                        NS      ns4
@@ -20,6 +21,6 @@ model2                        NS      ns3
 ns3.model2             A       10.53.0.3
 ns4.model2             A       10.53.0.4
 
-model2._dsync          DSYNC   CSYNC NOTIFY @PORT@ scanner ; ignored, unknown rrtype
-model2._dsync          DSYNC   DSYNC NOTIFY @PORT@ scanner ; ignored, bad rrtype
 model2._dsync          DSYNC   CDS NOTIFY @PORT@ scanner
+model2._dsync          DSYNC   CSYNC NOTIFY @CONTROLPORT@ bad-scanner ; ignored, unknown rrtype
+model2._dsync          DSYNC   DSYNC NOTIFY @CONTROLPORT@ bad-scanner ; ignored, bad rrtype