[Pdns-users] Perl powerDNS API

Derrik Pates demon at devrandom.net
Fri Jun 25 16:44:29 UTC 2010


On 06/25/2010 03:38 AM, fredj toukebri wrote:
> i want to manage our DNS plateform (PDNS servers) through external
> application. so that i need web services or API to interact dns with our
> application:
> 
> Is somebody working on this already.

If you mean an API to manipulate records, there isn't one, and never
will be. The idea with PowerDNS is that you can mate it with the record
storage solution of your choice (MySQL, PostgreSQL, other DB via
OpenDBX, LDAP, or even BIND zones if you must), and update at will
(though BIND zones would require explicit reload requests, as with BIND
itself). If your records are in a database, just manipulate them, maybe
tweak the cache parameters to not hold onto cached data too long, and go
on your merry way.

Or do you mean something else? If so, what do you have in mind? Internal
statistics or something? Also no APIs for it, but I'd bet someone could
cough up some simple examples for connecting to PowerDNS and requesting
internal metric values.

-- 
Derrik Pates
demon at devrandom.net



More information about the Pdns-users mailing list