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. _______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users