Hi, why does dnsmasq cname require an entry on /etc/hosts? I would like to override "somedomain.com" to "some-load-balancer.com" as a CNAME.If I start dnsmasq as: # dnsmasq -dq -r /etc/resolv.upstream --cname somedomain.com,some-load-balancer.com If I try to ping somedomain.com, I will get : ping: unknown host somedomain.com If I try to nslookup somedomain.com Server: 127.0.0.1 Address: 127.0.0.1#53 somedomain.com canonical name = some-load-balancer.com.
So I would expect that to work. Is there a reason for that not being allowed by dnsmasq? Security reasons somehow ? I have a scenario where I need to make a container for a legacy application point somedomain.com ( hardcoded ) to an external loadbalancer's CNAME whose IP is, of course, dynamic and I can not add it to /etc/hosts. Thanks! _______________________________________________ Dnsmasq-discuss mailing list [email protected] https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
