PowerDNS comes with the tool zone2sql. With some bash scripting, you can save yourself a lot of work. For instance, it's really easy to migrate a bunch of reverse files.