Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
possible problem with bind (web/api config) and waste config
« previous
next »
Print
Pages: [
1
]
Author
Topic: possible problem with bind (web/api config) and waste config (Read 1380 times)
opns_neuling
Jr. Member
Posts: 68
Karma: 2
possible problem with bind (web/api config) and waste config
«
on:
May 03, 2021, 11:09:47 am »
Hello!
if you create a zone in bind (regardless of whether webui / api), then the hosts, and then delete the zone again, the hosts remain in the configuration file. The problem is if you have created the zone several times (for testing or automation via API), deleted it and then created it again, the size of config.xml becomes huge. side effect is that the webgui is sluggish when the config.xml is so big.
In my case:
config.xml with bind block was about 9 MB in size,
after deleting the bind block using ...
sed -i '' -e '/ <bind> /, / <\ / bind> / d' config.xml
my config.xml is now about 300k.
Cheers
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
possible problem with bind (web/api config) and waste config