BIND2NSD ?

Miek Gieben miekg at atoom.net
Wed Feb 25 09:33:11 UTC 2004


[On 25 Feb, @10:21, Frank wrote in "BIND2NSD ? ..."]
> Hi
> 
> Is there some HOWTO to move from BIND to NSD ?

eh, no...

But as the zonefiles from bind and nsd are compatible there
is not much to do. 

The only thing needed is a good nsd.zones file, suppose
you have:

named.conf:
zone "atoom.net" {
        type master;
        file "/etc/bind/db.atoom.net";
        also-notify { 213.154.224.1; 213.154.224.39; 213.154.224.17; };
};

zone "miek.nl" {
        type master;
        file "/etc/bind/db.miek.nl";
        also-notify { 213.154.224.1; 213.154.224.39; 213.154.224.17; };
};

this converts for NSD into:

zone atoom.net   zones/db.atoom.net  notify 213.154.224.1 213.154.224.39 213.154
zone miek.nl     zones/db.miek.nl    notify 213.154.224.1 213.154.224.39 213.154

if miek.nl would be a slave zone, the following is needed:
zone miek.nl     zones/db.miek.nl    masters 213.154.224.1 

next a nsdc rebuild (and maybe a nsdc restart) should be enough to get NSD running.

Only one other thing, BIND will listen on all interfaces, with NSD you must
explicitely define them with the -a flag.

grtz Miek



More information about the nsd-users mailing list