secondary nameserver

Bob Vance bobvance at alumni.caltech.edu
Wed Sep 6 22:13:43 UTC 2000


>Without any files in the named directory, it complains so I presume
>I need to seed them with files from the master.

You only need the files that are referenced as being "source" files;
viz.,
    the hint file,   "named.ca"
and the master file, "named.local"

The slave file, "named.acme", will be created when the zone is
transferred.

>But then if I make a change on the master (222.111.222.123) and
>kick both nameservers,

What do you mean by "kick".

>the new change is not reflected on the slave.

You need to change the serial number in the SOA for the zone in which
the change was made.  Even if the slave is "notify"ed, it will only do
an update check; i.e., get the master's serial number for that zone and
see if it is "greater" than that of the last transfer.

Or, if you delete "named.acme", then restart 'named', it will reload the
slaved zone.


-------------------------------------------------
Tks        | <mailto:Bob_Vance at sbm.com>
BV         | <mailto:bobvance at alumni.caltech.edu>
Sr. Technical Consultant,  SBM, A Gates/Arrow Co.
Vox 770-623-3430           11455 Lakefield Dr.
Fax 770-623-3429           Duluth, GA 30097-1511
=================================================





-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
Behalf Of David Stern
Sent: Wednesday, September 06, 2000 10:43 AM
To: bind-users at isc.org
Subject: secondary nameserver



I've compiled the BIND 8.8.2-P5 code and set up a primary with no
problem.
For the secondary, I have a bare-bones config file containing the
directory,
a zone ".", reverse 127.0.0.1, and the main zone I'm trying to transfer
(we'll
ignore the reverse mapping of the main zone for now).
eg:
options {
        directory "/usr/local/named";
};

zone "." {
        type hint;
        file "named.ca";
};

zone "0.0.127.in-addr.arpa" {
        type master;
        file "named.local";
};

zone "acme.com" {
        type slave;
        file "named.acme";
        masters {
                222.111.222.123;
        };


Without any files in the named directory, it complains so I presume I
need
to seed them with files from the master. Done. But then if I make a
change
on the master (222.111.222.123) and kick both nameservers, the new
change
is not reflected on the slave. Any ideas for debugging the lack of zone
transfer?

TIA

 =-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David Stern                                    TSI TelSys
 Manager, Information Systems                   410-872-3906







More information about the bind-users mailing list