DNS / NAT

Kevin Darcy kcd at daimlerchrysler.com
Tue Nov 5 00:06:48 UTC 2002


Oliver wrote:

> Saad Kadhi <bsdguy at docisland.org> wrote in message news:<aq54k5$bg34$1 at isrv4.isc.org>...
> > On Sun, Nov 03, 2002 at 10:42:53AM -0800, Oliver wrote:
> > > Can i set up my internal DNS to give the internal clients a reply with
> > > my internal private address for just this one host
> > > (mywebserver.somedomain.com)and forwars all other requests for
> > > somedomain.com ?
> > sure. create a zone for mywebserver.somedomain.com and make your DNS server
> > authoritative for it. The zone should look like:
> > @             IN SOA  mydns.xxx.yyy. hostmaster.zzz.ttt. (...)
> >               IN NS   mydns.xxx.yyy.
> >               IN A    <internal_ip_addr>
> >
> > hth
> i tried that already. That way mywebserver.somedomain.com resolves
> fine but requests for otherservers.somedomain.com aren't forwarded and
> can't be resolved.

Do you have "forwarders" and "forward only" statements in your options statement?

Do you have a zone definition for somedomain.com in named.conf? If you're a master or slave
for somedomain.com then you won't forward queries for any name in that zone. Then again, if
you're slaving somedomain.com you shouldn't *have* to forward any queries for it, since you
have all of the zone data locally (although there may be some propagation delay for recent
changes).


- Kevin




More information about the bind-users mailing list