[Dnsmasq-discuss] Global CNAME discussion
Scott Mead
scottm at openscg.com
Thu Sep 18 16:33:01 BST 2014
I have an interesting setup.
I have 2 DNS servers, A and B.
A hosts: .domain1 .domain2
B hosts: .domain3 .domain4
I would like to add a domain to 'A' called .global
.global would be what I set all the client's search paths to and could
pick from any of the domains. I may have db.global -> db.domain1 (primary)
or db.domain4 (slave )
I've seen the documentation and I understand that you cannot have a cname
that points to a host that lives outside the scope of a dnsmasq instance.
I'm okay with that part.
The strange thing, is that I tried to add this to my hosts file on the
dnsmasq server A, and it still didn't seem to work, i.e.
/etc/dnsmasq.hosts
192.168.1.1 db.domain4
cname=db.global, db.domain4
This still did not work. I'm just wondering if I'm missing something.
On a second note, it would be cool if dnsmasq would let me assign cnames
when I define a server for a specific domain
i.e.
dnsmasq A: server=/domain4/ip.of.dnsmasq.b
cname = db.global, db.domain4
I'm not sure if that's simple or complex, but figured I would ask if it
made sense or not.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20140918/050621d9/attachment.html>
More information about the Dnsmasq-discuss
mailing list