[Dnsmasq-discuss] cname does not seem to be working
samlt
samuel.lethiec at intelunix.fr
Wed Oct 22 21:00:44 BST 2014
On Wed, 2014-10-22 at 07:48 -0400, Brian J. Murrell (brian) wrote:
> I am running dnsmasq 2.59 on Ubuntu 12.04.5. I can't seem to get a
> cname working. I have added, for example to my dnsmasq.conf file:
>
> cname=www.sun.com,www.oracle.com
>
> However lookups still return the real CNAME:
>
> # dig @localhost -t any www.sun.com.
>
> ; <<>> DiG 9.8.1-P1 <<>> @localhost -t any www.sun.com.
> ; (2 servers found)
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58182
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;www.sun.com. IN ANY
>
> ;; ANSWER SECTION:
> www.sun.com. 6622 IN CNAME legacy-sun.oraclegha.com.
>
> ;; Query time: 9 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Wed Oct 22 07:42:00 2014
> ;; MSG SIZE rcvd: 64
>
> What am I doing wrong? Or how do I further debug?
Check this option in the manual to see the conditions for the directive
not to be ignored! :)
>
> Cheers,
> b.
>
>
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20141022/a8c7ccf9/attachment.html>
More information about the Dnsmasq-discuss
mailing list