[Dnsmasq-discuss] Local network, local DNS and public remote DNS

L.M.J linuxmasterjedi at free.fr
Mon May 7 22:19:59 BST 2012


  Here is my problem, I'm trying to be as clear as possible.
1) Got a local network, let's say 3 PCs :  PC1, PC2 and PC3
2) local network name is : foo.com
3) All /etc/hosts are like this 
    domaine foo.com
    search foo.com

4) ping PC1, PC2 or PC3 or PC1.foo.com PC2.foo.com PC3.foo.com works
5) PC1 is, it hosts dnsmasq used as a DNS cache
6) PC1 /etc/hosts
    domaine foo.com
    search foo.com
    nameserver MY.ISP.DNS.IP

7) I also own a public domain name foo.com, so pc1.foo.com resolve to its
public IP : This domain is owned by my favorite registrar. 

Problem : when I add an entry "remoteserver.foo.com" (IP : in my
public DNS entries : any computer from the local network can find it because
PC1, PC2 and PC3 search it in the local network instead of asking to the remote
public DNS : how can I solve this?


 "May the source be with you my young padawan"

More information about the Dnsmasq-discuss mailing list