Re: DNS Server on LAN

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 ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-17-2004
Barry Margolin
 
Posts: n/a
Default Re: DNS Server on LAN

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

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:45 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0