]> 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 16:22:42 +0000 (18:22 +0200)
commit861b2a14bbf278ec2ce8377a4cb2cd42f4ed3af1
tree1064da815bd2a9f26535385b1ea467fc5b54630d
parentf42234fef08ec90087a10f7bbfb1cebbf5ba89ab
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.

(cherry picked from commit 0b5fc0afcfd1a0bb7c1f16b63872b7ee26fb2777)
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