1
21.1 Legacy Series / CLI/API for changing unbound DNS hosts, static maps
« on: July 01, 2021, 07:51:09 am »
Hi, is there a CLI or API for changing unbound DNS configuration to add/remove host entries and to add/remove DHCP static maps? The official API at https://docs.opnsense.org/development/api/core/unbound.html doesn't seem to cover these features.
I see the relevant config is stored in /conf/config.xml, but even if I manually edited it I'm not sure how to deploy the config to unbound's own config files and trigger a reload.
Thanks!
I see the relevant config is stored in /conf/config.xml, but even if I manually edited it I'm not sure how to deploy the config to unbound's own config files and trigger a reload.
Thanks!