why the lucky stiff wrote:
> Anyone have a parser for BIND8/9 zonefiles?
> 
> _why
> 

If this helps you might want to look at zone2sql from PowerDNS. It 
converts zone files into SQL insert statements to migrate from Bind to 
PowerDNS. Written in c++ if I remember.

http://doc.powerdns.com/migration.html#ZONE2SQL

Dan