]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: dev: Save configuration as text
authorColin Vidal <colin@isc.org>
Wed, 12 Nov 2025 10:40:33 +0000 (11:40 +0100)
committerColin Vidal <colin@isc.org>
Wed, 12 Nov 2025 10:40:33 +0000 (11:40 +0100)
commit09bcacbd3689b3208a5f51d281c85375bd7fb265
tree9edfc9408573d41f67df5954783136509d4fed75
parent2affdbce199715835a2c84f25fd9c61318985883
parentf9922eb65a916dcd47dcc20a3f10bcea4b52d6a2
fix: dev: Save configuration as text

A `cfg_obj_t` object tree structure takes up considerably more space than the equivalent canonical text. If `allow-new-zones` is disabled and catalog zones are not in use, then we don't need the object tree. By storing the configuration in text format, we can use less memory, and `rndc showconf` and `rndc showzone` still work.

Merge branch 'each-cfg-as-text' into 'main'

See merge request isc-projects/bind9!11236