Hi Is there some HOWTO to move from BIND to NSD ? Thanks -- Frank Bonnet
[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
Frank Bonnet writes:> Is there some HOWTO to move from BIND to NSD ?I think not. It would be difficult to write, too. If you'ure using BIND the way I am (just serving zones nonrecursively), changing is easy peasy. Read the nsd man pages, write the config file and (here comes the difficult bit) learn to type nsdc instead of ndc. The first two took me a few minutes, I'm still struggling with the latter. If you're using BIND's many bells and whistles, life may not be so easy. Arnt
BIND handles $INCLUDE differently than NSD. BIND does it from the same directory as the zone file, and NSD does it from $PREFIX. $INCLUDE common.h ; for BIND $INCLUDE primary/common.h ; for NSD Other people have mentioned some other minor things. On Wed, 25 Feb 2004 10:21:50 +0100 Frank Bonnet <bonnetf at bart.esiee.fr> wrote: :Hi : :Is there some HOWTO to move from BIND to NSD ? : :Thanks :-- :Frank Bonnet : :_______________________________________________ :nsd-users mailing list :nsd-users at NLnetLabs.nl :http://open.nlnetlabs.nl/mailman/listinfo/nsd-users -- Fourth Law of Revision: It is usually impractical to worry beforehand about interferences -- if you have none, someone will make one for you.