More on Secondary Server

Kevin Darcy kcd at daimlerchrysler.com
Sat May 19 01:11:11 UTC 2001


Desmond Coughlan wrote:

> Hi AGain,
> Following advice from those on this list, I have followed the instructions
> at :
>
> http://ftp.ripe.net/ripe/docs/ripe-192.html
>
> Now, I have one or two questions which I'd like to ask ..
>
> First, the above file lists, in the config for /etc/domain/localhost
> (which, on the server I'm configuring, will be /var/named/locahost), that
> I need to add the hostname of the DNS box.  Is this the DNS box that I'm
> working on, _or_ the primary, towards which I intend to point this ?

The only purpose of the "localhost" zone is to make the name
"localhost" resolve to 127.0.0.1. The only potentially machine-specific or
site-specific data in that zonefile would be the contents of the SOA record
and NS record, and even that could be *anything* since nothing and no-one
should care about the SOA or NS for the name "localhost".

Frankly, I've never seen the point of making "localhost" resolve, myself.
I don't even bother with this.

> Second, the documentation isn't clear as to what I need, to configure,
> when all that I need, is to set up a slave server, point it at the master,
> and perform a transfer ?  That way, all the information is there already.

Hmmm, you're right. The document seems exclusively focused on master zones.

Basically what you need on the slave is:

zone "example.com" {
    type slave;
    file "example.com"; // or whatever slave-file naming convention you wish
    masters {
            x.x.x.x;
            y.y.y.y;
    };
};


- Kevin




More information about the bind-users mailing list