]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: dev: Save userconfig as text instead of a cfg_obj tree
authorEvan Hunt <each@isc.org>
Thu, 30 Oct 2025 23:31:50 +0000 (23:31 +0000)
committerEvan Hunt <each@isc.org>
Thu, 30 Oct 2025 23:31:50 +0000 (23:31 +0000)
commit9521f231694e0cecdb39be48945f0fe5177eaadc
treefe43ccec2f5d4e7aaa39bbc84523ffc579acd875
parent6451b08f4706e7003133aa9d366ed36a6568475b
parentc65b2868abdccf3d463668cca481b84c76b1fb53
fix: dev: 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.

Merge branch 'each-userconfig-text' into 'main'

See merge request isc-projects/bind9!11185