Closed fichtner closed 7 years ago
@fichtner we can include the unbound cname tag, but its not very likely that it will actually work. From what I can find.
The only time your entry will be returned is if the client queries for a CNAME, which in practice means it'll probably be returned quite rarely
(source https://www.bentasker.co.uk/documentation/linux/279-unbound-adding-custom-dns-records)
The information on the unbound mailing list: http://unbound.net/pipermail/unbound-users/2009-March/000509.html
Add the tag any way? or close the issue?
Let's keep it on 17.1, wait for feedback. It should be possible to add this in the advanced settings to collect valuable information of how that works out from the actual client side and that will likely decide in the end :)
don't really need this it seems
Lack of alias/cname support in unbound is the only thing keeping me on pfsense. I'd really like this to be implemented.
@MarkNBroadhead Can you point me to the Unbound CNAME implementation in pfSense please?
@fichtner The implementation should be in services_unbound_host_edit.php in the section, "Additional Names for this Host", which allows configuration of aliases (cnames).
@fichtner You are right. PfSense's implementation does not create CNAMES although it appears to do just that. It create multiple A records all tied to one IP address in configuration and in the UI, creating the convenience of a CNAME without CNAME support. I will open a different feature request for this to be added as it is terribly useful.
Your search in source for "cname" returns no results because the PfSense implementation referred to these other hosts "aliases". The implementation is in the file I linked.
@MarkNBroadhead we have this as well :)services: unbound dns: overrides
PTR was also asked for, maybe we should make the framework more flexible...
via: https://forum.opnsense.org/index.php?topic=3246.0