]> git.ipfire.org Git - thirdparty/bind9.git/commit
Check for filename clashes /w dnssec-policy zones
authorMatthijs Mekking <matthijs@isc.org>
Tue, 13 Apr 2021 14:45:16 +0000 (16:45 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Wed, 5 May 2021 17:13:55 +0000 (19:13 +0200)
commit511bc1b8828123c67be6d5ba70c2faaaeadabc3d
treedb94701724fb12589afbff0f6e7415c987b2fad6
parent2d1b3a9899ba6c3bd23a5cd4ccdddac6d351c878
Check for filename clashes /w dnssec-policy zones

Just like with dynamic and/or inline-signing zones, check if no two
or more zone configurations set the same filename. In these cases,
the zone files are not read-only and named-checkconf should catch
a configuration where multiple zone statements write to the same file.

Add some bad configuration tests where KASP zones reference the same
zone file.

Update the good-kasp test to allow for two zones configure the same
file name, dnssec-policy none.
bin/tests/system/checkconf/bad-kasp10.conf [new file with mode: 0644]
bin/tests/system/checkconf/bad-kasp11.conf [new file with mode: 0644]
bin/tests/system/checkconf/bad-kasp12.conf [new file with mode: 0644]
bin/tests/system/checkconf/bad-kasp13.conf [new file with mode: 0644]
bin/tests/system/checkconf/bad-kasp6.conf [new file with mode: 0644]
bin/tests/system/checkconf/bad-kasp7.conf [new file with mode: 0644]
bin/tests/system/checkconf/bad-kasp8.conf [new file with mode: 0644]
bin/tests/system/checkconf/bad-kasp9.conf [new file with mode: 0644]
bin/tests/system/checkconf/good-kasp.conf
lib/bind9/check.c