problem with forwarders for internal dns
Kevin Darcy
kcd at daimlerchrysler.com
Wed Aug 1 23:37:53 UTC 2001
The hints file is unused when global forwarding is in effect -- priming will be
done *through* the forwarders -- so the contents of the hints file are basically
irrelevant. In fact, I think with recent versions of BIND, you don't even need a
hints file when global forwarding is specified...
- Kevin
Barry Margolin wrote:
> In article <9k93nd$l9c at pub3.rc.vix.com>,
> Leong Min Yen <myleong at ncs.com.sg> wrote:
> >
> >Hi
> >
> >I have some problems with the internal dns servers.
> >
> >Senario:
> >the internal dns server will forward to the external dns server for
> >all name resolution except or domaina.com.sg and domainb.com.sg
> >
> >all the servers are using bind 8.2.3
> >domaina.com.sg is hosted on internal dns serverA
> >domainb.com.sg is hosted on internal dns serverB
> >
> >However, serverA and serverB complains of
> >sysquery: no addrs found for root NS ()
> >
> >In addition, a listing of the domain soa shows wrong records.
> >
> >So what went wrong?
> >Do I still need the hint file for serverA when I have already
> >forwarded to the external dns server for others under options and
> >serverb for domainb.com.sg?
>
> You need the "forward only" option to prevent your server from trying to
> connect to the real root servers if the external server doesn't answer.
>
> Also, you should replace your fake db.cache with the real one. The entries
> in that file are just used during startup; the server queries one of the
> servers in the list to get the latest list of root NS records. So putting
> your external DNS there doesn't really help, since it will return the real
> root records.
>
> ><serverA named.conf>
> >options {
> > directory "/var/named";
> > pid-file "/var/named/named.pid";
> > forwarders { externaldnsip; };
> >};
> >zone "." in {
> > type hint;
> > file "db.cache";
> >};
> >zone "domaina.com.sg" in {
> > type master;
> > file "master/db.domaina.com.sg";
> >};
> >zone "domainb.com.sg" in {
> > type forward;
> > forwarders { serverbIP; };
> > forward only;
> >};
> >
> ><serverA db.cache>
> >. 999999 NS externalserver.
> >externalserver. IN A X.X.X.X
> >
More information about the bind-users
mailing list