> Hi, why does dnsmasq cname require an entry on /etc/hosts?

From the dnsmasq man page:

--cname=<cname>,[<cname>,]<target>[,<TTL>]
Return a CNAME record which indicates that <cname> is really <target>. There is a significant limitation on the target; it must be a DNS record which is known to dnsmasq and NOT a DNS record which comes from an upstream server.

A potential workaround would be to recreate the A/AAAA records for the CNAME target within dnsmasq. Of course, that's only viable if the respective IPs are both known and not subject to change.



_______________________________________________
Dnsmasq-discuss mailing list
[email protected]
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to