]> git.ipfire.org Git - thirdparty/bind9.git/commit
test rndc showzone works for named.conf zones
authorColin Vidal <colin@isc.org>
Thu, 23 Oct 2025 08:54:32 +0000 (10:54 +0200)
committerEvan Hunt <each@isc.org>
Thu, 23 Oct 2025 20:01:11 +0000 (13:01 -0700)
commit6f4d4ddb1c9d00cdb0dd4f41f49b9db6be1b985c
tree11d3530147966a9fe520dac73c44b26dda2b3eea
parent6b5246b3d252773f0e14dd1264eca72ebc9a4936
test rndc showzone works for named.conf zones

Since the zone now has a reference to their respective configuration
tree, `rndc showzone` can be used for any zones (including those
defined in namedconf), without `allow-new-zones` being enabled.
Add a test for this.

The test is part of the addzone suite because showzone used to be
related to addzone, but this could be moved elsewhere in the future
if more specific tests are needed for showzone.
bin/tests/system/addzone/ns1/named.conf.j2 [moved from bin/tests/system/addzone/ns1/named.conf.in with 88% similarity]
bin/tests/system/addzone/setup.sh
bin/tests/system/addzone/tests_showzone_static.py [new file with mode: 0644]