[Pdns-users] Windows 2000 Name Server migration

bert hubert ahu at ds9a.nl
Tue Nov 18 13:35:48 UTC 2003


On Tue, Nov 18, 2003 at 09:34:39PM +1000, mat at hypermax.net.au wrote:

> Im planing to migrate our Windows 2000 name server to PDNS. I have it all 
> setup with the PDNS Recursor functioning as well. The whole thing works really 
> well. Now I need to import about 1000 domains from our Win2k name server to 

Cook - which version do you run?

> PDNS. The zone2sql tool reads the 2k .dns files of each domain really well and 
> outputs the appropriate sql command to insert the data into the sql table. 
> What it DOESNT do is add the domain to the domain table first so the domain_id 
> entry is unique for each domain I import. 

Hmm, which output do you use? The --gmysql output gets you nearly there, it
makes an entry in the domains table and uses that with 'insert select' to
get the domain_id into the records table.


Good luck!
-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO


More information about the Pdns-users mailing list