DNS Server on LAN

Ben Heard bdheard at netscape.net
Mon Feb 16 23:52:22 UTC 2004


I have a NAT'ing gateway router that doesn't support loopback. As such I 
can't use www.websever.org from machine A on my LAN to hit a webserver with 
a LAN IP address because the IP address associated with www.webserver.org 
is that of the router (external DNS server).

So, I thought that I could run a DNS server on my LAN that only maps 
www.webserver.org to my LAN IP address and make the router look at my LAN 
DNS server as its primary server. All other name resolutions would go to 
the WAN once the LAN DNS server didn't provide an answer.

The question is, how do I set up a named.conf file to support this?

Thanks,
Ben


More information about the bind-users mailing list