Provides a CLI to manage OPNSense Unbound DNS overrides and a webservice implementing. Originally intended as an externalDNS webhook for managing DNS entries in OPNSense Unbound DNS. Webhook currently results in duplicate DNS entries being created.
Unbound does appear to support creating txt records. TXT records for external-dns ownership are stored in the Description field.
The description field has a hard limit of 255 chars.
go install github.com/MrUsefull/boundation/cmd/unbound@latestCreate or update overrides
unbound upsert --host=example.domain.here --target=1.2.3.4 --host=other.host.com --target=5.6.7.8Read existing overrides
unbound readDelete overrides
unbound delete --host=example.domain.hereRun interactive configuration menu
unbound configureThe webservice is indended to be used with the externalDNS webhook system.
The current version of this project and external dns results in duplicate DNS entries constantly being created. It's recommended to use the CLI.