[Pdns-users] Anyone working on a PHP API?
david at ordal.com
Thu Feb 12 19:42:53 UTC 2009
Yeah, I'm definitely thinking more about a PHP 'library' (for lack of a
better word) that manipulates the underlying database. So you'd call
// instantiates a new instance of the class with domain ID 1
$coolPDNSLib = new CoolPDNSLib(1);
// add a CNAME record to domain ID #1: foo.bar.com -> 'baz.bar.com'
$coolPDNSLib->addRecord(TYPE_CNAME, 'foo.bar.com', 'baz.bar.com');
The idea is that addRecord() would take care of all the nitty gritty details
of adding the record, updating the SOA serial #, etc....
Would simplify the backend for PowerAdmin and PDNSAdmin, and would more
easily let other people build services on top of PDNS.
More information about the Pdns-users