I have released several PowerDNS modules to CPAN:
http://search.cpan.org/~augie/
PowerDNS::Backend::MySQL Provides an interface to manipulate PowerDNS data in the MySQL Backend.
PowerDNS::Control::Client Provides an interface to control the PowerDNS daemon.
PowerDNS::Control::Server Provides an interface to control the PowerDNS daemon.
The MySQL interface is based on code I have in production, but currently is not what I have running, yet.
The Client/Server Control code I do have running in production; although they currently only implement the features I needed to deploy.
Augie,
Very NICE work! I was going to do the same but not it seems I don’t have to. Are you intending to include a serial number update routine for full compliance with other dns servers as slaves?
Bryan,
I have received this request before, but I’m not sure it makes sense to make a method to increment serials, when there is no standard for serials other then they are numeric.
Most places seem to use the eight digit date (YYYYMMDD) followed by a two digit increment; but there’s no reason why someone else couldn’t just start at 0 and keep incrementing.
In this case I think the “update_recored” method is the best solution as it provides the means to update the serial in whatever way your site does so.