Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
CLI/API for changing unbound DNS hosts, static maps
« previous
next »
Print
Pages: [
1
]
Author
Topic: CLI/API for changing unbound DNS hosts, static maps (Read 1430 times)
rando-p
Newbie
Posts: 1
Karma: 0
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!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
CLI/API for changing unbound DNS hosts, static maps