Feature #4305
closedAdd Advanced / local-data option to Host Overrides for DNS Resolver / Unbound
0%
Description
The Advanced button doesn't allow the inclusion of local-data: entries. Actually it allows it, but it breaks unbound
apparently local-data: needs to be directly below local-zone:
The DNS Forwarder does allow this, by adding srv-host= entries.
Please add another Text box to Host Overrides, or some other means to allow the addition of SRV/TXT/etc records, that aren't
A/PTR records, as handled by the current Host Overrides section.
Specifically, I (and I imagine others) need the capability of adding:
local-data: "_myService._tcp.mydomain.com. IN SRV 3600 10 0 1234 myhost.mydomain.com."
I've worked (ugly hack) around the issue temporarily by using the cron package and running the following hourly:
/usr/local/sbin/unbound-control -c /var/unbound/unbound.conf local_data _myService._tcp.mydomain.com. IN SRV 3600 10 0 1234 myhost.mydomain.com.
Updated by Kill Bill about 9 years ago
You're just doing it wrong.
server: local-data: "foo" local-data: "bar" local-data: "baz"
This also is documented. https://doc.pfsense.org/index.php/Unbound_DNS_Resolver
Updated by Andrew Stuart about 9 years ago
You are (obviously) right.
I read that article, but must have assumed it was part of the TXT Comment Support.
Thank you, I'll find a dunce cap to wear for the rest of the day. Maybe revoke my IT privileges too.
But hey, not all is lost, I learned something about command line control of unbound.
Updated by Chris Buechler about 9 years ago
- Status changed from New to Rejected
already there, just have to configure it correctly