<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>I have an interesting setup.<br><br></div>  I have 2 DNS servers, A and B.<br><br></div>  A hosts: .domain1 .domain2<br></div>  B hosts: .domain3 .domain4<br><br></div>  I would like to add a domain to 'A' called .global<br><br></div>    
 .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 )<br><br></div>  I've seen the documentation and I understand that you cannot have a <span class="">cname</span> that points to a host that lives outside the scope of a <span class="">dnsmasq</span> instance.  I'm okay with that part.<br><br></div>   The strange thing, is that I tried to add this to my hosts file on the <span class="">dnsmasq</span> server A, and it still didn't seem to work, i.e. <br></div><div><br>/etc/<span class="">dnsmasq</span>.hosts<br></div>  192.168.1.1  db.domain4<br><br></div><span class="">cname</span>=db.global, db.domain4<br><br></div>  This still did not work.   I'm just wondering if I'm missing something.<br><br></div><div>  On a second note, it would be cool if <span class="">dnsmasq</span> would let me assign <span class="">cnames</span> when I define a server for a specific domain<br><br></div><div> i.e. <br><br></div><div><span class="">dnsmasq</span> A: server=/domain4/ip.of.<span class="">dnsmasq</span>.b<br><br></div><div><span class="">cname</span> = db.global, db.domain4<br><br></div><div>  I'm not sure if that's simple or complex, but figured I would ask if it made sense or not.<br><br></div>Thanks</div>