[Pdns-users] zone2sql back to Bind Format

bert hubert bert.hubert at netherlabs.nl
Wed Jun 28 16:41:19 UTC 2006


On Wed, Jun 28, 2006 at 09:39:57AM -0700, Max Clark wrote:
> I need to export our current mysql based environment to BIND format
> (some old customers want to move in house). How do I generate the BIND
> zone files from our sql db?

I use 'dig' for this purpose, using the output of 'select name from
domains', and having it AXFR all domains.

Pretty easy to script.

Good luck!

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services


More information about the Pdns-users mailing list