]> git.ipfire.org Git - thirdparty/bind9.git/commit
save zone configuration as text
authorEvan Hunt <each@isc.org>
Tue, 11 Nov 2025 23:46:23 +0000 (15:46 -0800)
committerColin Vidal <colin@isc.org>
Wed, 12 Nov 2025 10:36:07 +0000 (11:36 +0100)
commit6a57c6e8f61ba92c3effdaf32d6d08cc8886dfb2
tree0a876be059d0f473f28ee21c08b464b6fd8db3ef
parent2affdbce199715835a2c84f25fd9c61318985883
save zone configuration as text

as previously mentioned in commit c65b2868ab, a cfg_obj_t
configuration tree structure takes up considerably more space than
the canonical text. since the zone configuration saved in the zone
object using dns_zone_setcfg() is only currently used for "rndc
showzone", it can be saved as text more efficiently than as an
object tree. (and, if a tree were needed, the text could be
re-parsed quickly; zone configuration text is generally small.)
bin/named/server.c
bin/named/zoneconf.c
lib/dns/include/dns/zone.h
lib/dns/zone.c