named.conf

Thomas Gilbert-Jespersen tgj at gilberts.dk
Mon Jul 17 16:53:41 UTC 2000


Please help set this up correct

i need ns2 to get data from ns1..

Is this the correct way to set up my named.conf

ns1 = 123.123.123.1

ns2 = 123.123.123.2
_________________________________________________
_________________________________________________
server = ns1 = 123.123.123.1

zone "netby.dk"{
        type master;
        allow-update { 123.123.123.2;};
        allow-transfer { 123.123.123.2;};
        file "dk/db.net-mailzdk";
};

_________________________________________________
_________________________________________________
server = ns2 = 123.123.123.2

zone "netby.dk" {
        type slave;
        allow-update { 123.123.123.1;};
        allow-transfer { 123.123.123.1;};
        masters { 123.123.123.1;};
        file "dk/db.netbydk";
};


_________________________________________________
_________________________________________________

and then run
$ ndc reload

is this the correct way to do  it  ???

Regards Gilbert :-]]










More information about the bind-users mailing list