I have an internal-only domain called "foo.lan". (it's not actually foo but
it's quicker to type)
I also own the public "foo.net" domain.
If I set up CNAMEs for hosts on foo.lan, everything works as planned. For
example:
address=/root.foo.lan/192.168.0.123
cname=bar.foo.lan,root.foo.lan
$ drill -Q bar.foo.lan
root.foo.lan.
192.168.0.123
BUT, if I try the same thing with the foo.net domain, I get the CNAME record
back, but it never resolves to an A record so the lookup fails:
address=/root.foo.net/192.168.0.234
cname=bar.foo.net,root.foo.net
$ drill -Q bar.foo.net
root.foo.net.
$ drill -Q root.foo.net
192.168.0.234
I intentionally override a bunch of my foo.net subdomains with 192.168.0.0/24
addresses internally and this is one of them. I've even tried telling dnsmasq
it is authoritative for foo.net (using
auth-server,host-record,auth-zone,auth-soa), but I still get the same issue.
I'll be the first to admit that I know just enough about DNS in general to be
dangerous and am definitely not a professional, so I apologize in advance if
this is a painfully obvious answer. Thanks for any help!
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss