A simple question (i hope)

Barry Margolin barmar at bbnplanet.com
Mon Nov 15 22:57:59 UTC 1999


In article <80prua$m9r$1 at wanadoo.fr>,  <akeron at akeron.com> wrote:
>Hello,
>
>I have 2 servers on the same network
>
>i want to install the primary dns on the srv 1 and the secondary dns on the
>srv 2
>
>srv1 ip : 192.168.1.1 ns1.mydomain.com
>srv2 ip : 192.168.1.2 ns2.mydomain.com
>
>My bind version is 4.9.7
>
>Do i have to put something in the named.boot file on the srv 1 and on the
>srv 2 ?

The primary server's named.boot file should contain

primary mydomain.com db.mydomain

The secondary server's named.boot file should contain:

secondary mydomain.com 192.168.1.1 db.mydomain

>Cause i think there is a problem with my install.
>
>When i launch a tracert command on the srv 1 like
>
>tracert ns1.mydomain.com, i got 1 hop and the ip resolution is ok
>
>but when i did the same thing with this command :
>
>tracert ns2.mydomain.com

This may not have anything to do with named.boot.  You need to have an
entry in db.mydomain that looks like:

ns2  IN A  192.168.1.2

-- 
Barry Margolin, barmar at bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list