]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Update masterformat system test
authorMatthijs Mekking <matthijs@isc.org>
Wed, 28 Jun 2023 10:49:24 +0000 (12:49 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Thu, 20 Jul 2023 09:04:23 +0000 (11:04 +0200)
Change test configuration to make use of 'dnssec-policy' instead of
'auto-dnssec'.

bin/tests/system/masterformat/ns1/named.conf.in

index a0d054fc6e00fdfd4ac8a03041d4dd68ce33a693..ca556f97473854622ca3aa9e504c0226bd1aba2d 100644 (file)
@@ -34,6 +34,13 @@ controls {
        inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
 };
 
+dnssec-policy "masterformat" {
+       keys {
+               ksk key-directory lifetime unlimited algorithm @DEFAULT_ALGORITHM@;
+               zsk key-directory lifetime unlimited algorithm @DEFAULT_ALGORITHM@;
+       };
+};
+
 zone "example" {
        type primary;
        masterfile-format raw;
@@ -84,5 +91,5 @@ zone "signed" {
        masterfile-format raw;
        allow-transfer { any; };
        update-policy local;
-       auto-dnssec maintain;
+       dnssec-policy masterformat;
 };