Next Question: secondary DNS
Kevin Darcy
kcd at daimlerchrysler.com
Tue Jan 23 23:52:25 UTC 2001
Try using "-debug" with nslookup to see what it's really doing, or, even
better, using "dig" instead of nslookup.
Also, comments aren't usually legal in /etc/resolv.conf. It's possible yo=
ur
version of nslookup is having difficulty with them. You could try removin=
g
the comments and see if that makes a difference.
- Kevin
J=E9r=F4me Meyer wrote:
> Here is the next...
>
> There are first primary extern DNS and a primary intern DNS and all are
> running well.
> Now, I'm trying to configure on a other machine a secondary intern
> DNS.. not easy!
>
> Well, I have configured some files on the secondary DNS: a
> /etc/resolv.conf where are the primary and secondary DNS and a
> name.boot, the nameserver bootfile...
> When I started the subsystems named on my secondary DNS, he start it
> and creates two files root.hosts and root.rev and the contents are
> copied from the primary DNS.
>
> When I'm stopped the primary intern DNS, and when I make a ping with a
> name, I receive a answer from the secondary DNS. But when I make a
> nslookup, there is don't effect and don't prompt appears. Anything isn'=
t
> good ruuning... Where are the failures, I don't know how I can find it,
> please help!!!
>
> Here are somes files from my secondary DNS.
> The files root.hosts and root.rev are directly copied from the primary
> DNS, that means that I have don't change it.
>
> ---------- /etc/resolv.conf
> --------------------------------------------------
>
> # Name: resolv.conf
> #
> domain intern.abcd.com
> # Try the primary DNS first (namesrv1)
> nameserver 137.156.200.30
> # Try the secondary DNS next (namesrv2)
> nameserver 137.156.200.40
>
> ---------- named.boot
> --------------------------------------------------
>
> ;
> directory
> /etc
> secondary intern.abcd.com 137.156.200.30
> root.hosts
> secondary 156.137.in-addr.arpa 137.156.200.30 root.rev
>
> ;
>
> ---------- root.hosts
> --------------------------------------------------
>
> $ORIGIN abcd.com.
>
> intern IN SOA namesrv1.intern.abcd.com.
> root.intern.abcd.com. (
> 176 3600 300 3600000 86400 )
>
> $ORIGIN intern.abcd.com.
>
> pc1060 IN A a.b.c.d
> pc1423 IN A a.b.c.e
> pc1517 IN A a.b.c.f
> pc1518 IN A a.b.c.g
>
> UNIX1 IN A a.b.c.h
> UNIX2 IN A a.b.c.i
> ...<and so on>
> $ORIGIN abcd.com.
> intern IN NS namesrv2.intern.abcd.com.
> IN NS namesrv1.intern.abcd.com.
> $ORIGIN abcd.com
> namesrv1 IN A 137.156.200.30
> namesrv2 IN A 137.156.200.40
> ...<and so on>
>
> ---------- root.rev --------------------------------------------------
>
> $ORIGIN 137.in-addr.arpa.
> 156 IN SOA namesrv1.intern.abcd.com.
> root.intern.abcd.com. (
> 304 3600 300 3600000 86400 )
> $ORIGIN .156.137.in-addr.arpa.
> 1 IN PTR ps01.intern.abcd.com.
> IN PTR ps02.intern.abcd.com.
> $ORIGIN 137.in-addr.arpa.
> 156 IN NS namesrv2.intern.abcd.com.
> IN NS namesrv1.intern.abcd.com.
> $ORIGIN 200.156.137.in-addr.arpa.
> 40 IN PTR namesrv2.intern.abcd.com.
> $ORIGIN 200.156.137.in-addr.arpa.
> 30 IN PTR namesrv1.intern.abcd.com.
> ...<and so on>
>
> On the primary DNS I have configured with NS the address from the
> seconday DNS, we see the result on root.hosts and root.rev. I have stil=
l
> configure the /etc/resolv.conf but not the named.boot.
>
> Here the named.boot from the primary DNS:
>
> ---------- named.boot
> --------------------------------------------------
> domain intern.abcd.com.
> maxcache 64
> maxcachelife 172800
> mincachelife 300
> retries 4
> retrytimeout 2
> connecttimeout 30
> ;
> ;type domain source file or host
> ;
> forwarders 195.141.56.5 193.192.227.3
> nwip_primary nwip.intern.abcd.com. etc/nwipprim.db
> primary 156.137.in-addr.arpa. etc/hostsrev.db
> primary intern.abcd.com. etc/hosts.db
> cache . etc/root.db
>
> As anyone an Idea, or as anyone a full default configuration for a
> secondary DNS.
>
> Thanks a lot...
> Jerome M. MEYER
More information about the bind-users
mailing list