This is a discussion on Re: DNS Server on LAN within the Bind Users forums, part of the DNS and Related Forums category; In article <c0rml2$2dgg$1@sf1.isc.org>, Ben Heard <bdheard@netscape.net> wrote: > I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
In article <c0rml2$2dgg$1@sf1.isc.org>,
Ben Heard <bdheard@netscape.net> wrote: > 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? zone "www.webserver.org" { type master; file "www.webserver.org.db"; } In www.webserver.org.db, you should have: @ IN SOA <usual SOA stuff> IN NS <yourmachinename> IN A <LAN IP address> -- Barry Margolin, barmar@alum.mit.edu Arlington, MA |
![]() |
| Thread Tools | |
| Display Modes | |
|
|