its a great howto
i have found that the code has little mistake
perhaps in pdns domains the id field is uniq and auto_increment
it join to the record.domain_id.
so if you have domainaliasses the '@$dmn_data[0]' from ISPCP is not the same in domains.id and record.domain_id.
If you want to update or delete the record you must select the right value.
here is my diff for ISPCP 1.0 Stable
take a look at the last post.
(07-30-2008 01:03 AM)BioALIEN Wrote: Thank you for this HowTo. If there's a way, we can perhaps include this to the core code as we lack a DNS management tool.
i think if you make an interface for the DNS its easy to wrote this as a module that you can bind in ISPCP.
in ispcp.conf a value like "BIND" or "PDNS" that call a file that named so and the values from ispcp you give them like
update, name,ip...
or
delete, name, ip....
or
insert, name, ip....
so the module can wrote with minimal code only controlled by the variables.