DNS - call script to created named.conf entries on secondaries
I need to insert a script call into ISPConfig such that when a new domain is created the script is run which will add the information for the domain in another server's named.conf file. Trouble is that I am having difficulty in determining where to insert my script call. From what I've been able to figure out, it might be in the dns class file for the dns->make_zonefile function.
Can anyone enlighten me on where to do this? Am I on the right track?