Hello, there is an API in order to add automatically an secondary DNS for a domain on ispconfig? Because i'm searching on the code but i'm not finding nothing about
There is no need to add a secondary DNS record when you use the ispconfig mirroring feature between primary and secondary dns server.
Yes, but at this time the secondary DNS server is also the ispconfig master of that particular cluster, so we can't use mirroring here.
As far as I know, there are no api functions for slave zones yet, so you might have to add them to remoting.inc.php if you need them.