]> git.ipfire.org Git - thirdparty/bind9.git/commit
save userconfig as text instead of a cfg_obj tree
authorEvan Hunt <each@isc.org>
Thu, 30 Oct 2025 20:01:44 +0000 (13:01 -0700)
committerEvan Hunt <each@isc.org>
Thu, 30 Oct 2025 22:55:31 +0000 (22:55 +0000)
commitc65b2868abdccf3d463668cca481b84c76b1fb53
treefe43ccec2f5d4e7aaa39bbc84523ffc579acd875
parent6451b08f4706e7003133aa9d366ed36a6568475b
save userconfig as text instead of a cfg_obj tree

once the user configuration has been merged into the effective
configuration, it no longer needs to be accessed as a configuration
tree, but we still want to be able to show it with 'rndc showconf -user'.

because the recursive strucure of cfg_obj objects is fairly large, the
canonical text form is a fraction of the size of the configuration
tree, so we now save it in that form instead.
bin/named/include/named/server.h
bin/named/server.c