]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add checkconf tests for [#2463]
authorMatthijs Mekking <matthijs@isc.org>
Tue, 4 May 2021 14:30:17 +0000 (16:30 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Tue, 18 May 2021 13:47:02 +0000 (15:47 +0200)
commitdf1aecd5ffa4a2ffad0d1b392d3855e492087b7e
tree1ab00def4921490f31407e177d5815cfbf9150a7
parent494e8b2cbd362af682e9699a9c4712cf79e27de8
Add checkconf tests for [#2463]

Add two tests to make sure named-checkconf catches key-directory issues
where a zone in multiple views uses the same directory but has
different dnssec-policies. One test sets the key-directory specifically,
the other inherits the default key-directory (NULL, aka the working
directory).

Also update the good.conf test to allow zones in different views
with the same key-directory if they use the same dnssec-policy.

Also allow zones in different views with different key-directories if
they use different dnssec-policies.

Also allow zones in different views with the same key-directories if
only one view uses a dnssec-policy (the other is set to "none").

Also allow zones in different views with the same key-directories if
no views uses a dnssec-policy (zone in both views has the dnssec-policy
set to "none").
bin/tests/system/checkconf/bad-kasp-keydir1.conf [new file with mode: 0644]
bin/tests/system/checkconf/bad-kasp-keydir2.conf [new file with mode: 0644]
bin/tests/system/checkconf/good.conf
bin/tests/system/checkconf/good.zonelist
bin/tests/system/checkconf/tests.sh