]> git.ipfire.org Git - thirdparty/bind9.git/commit
store the zone configuration object in the zone
authorEvan Hunt <each@isc.org>
Wed, 22 Oct 2025 05:56:27 +0000 (22:56 -0700)
committerEvan Hunt <each@isc.org>
Thu, 23 Oct 2025 20:01:06 +0000 (13:01 -0700)
commit0191ba5540e5bdfeddc275755bf72c26722d38ec
treea8ad8af6b57647ea02bfedbf0929b6bc02c8ba02
parent6de1d0dbc4101f24ead3578eacb0fecf22b60152
store the zone configuration object in the zone

when configuring a zone, we can now save the zone's configuration
object in the zone itself by calling dns_zone_setcfg().  this can
then be used by "rndc showzone" to print the zone's configuration,
which is simpler than searching for it using the new-zones
configuration, and allows it to work even if "allow-new-zones"
is disabled.
bin/named/server.c
bin/named/zoneconf.c
lib/dns/include/dns/zone.h
lib/dns/zone.c