Hello,
Can someone guide me to resolve the following problem or guide to the appopriate forum, link or url? Here's what I want to do?
I have my primary & secondary dns hosted on the cpanel servers all my linux servers use these dns successfully without any problems. I also have a window server with Plesk control panel. I want my windows to use the nameservers that are hosted on the cpanel server. Presently I am adding the zones for the domains that I create on the windows server through whm with the IP of windows server and site starts resolving successfully.
The problem now starts when any user adds or removes subdomains to the plesk server, the dns on the cpanel server need to be modified manually through whm. I want to automate this process. I found the script "adddns" using which I can add new dns zone successfully from the command line, but I am not able to find the script that is actually used for "Editing" the dns zone. Can anyone please let me know what script is used when "Edit DNS Zone" link is clicked in WHM and what parameters are passed to it?
I know this sounds quite strange, but the advantage of doing this are :
1. I will not have to get other nameservers.
2. I can move the accounts freely across the network.
Thanks!
Can someone guide me to resolve the following problem or guide to the appopriate forum, link or url? Here's what I want to do?
I have my primary & secondary dns hosted on the cpanel servers all my linux servers use these dns successfully without any problems. I also have a window server with Plesk control panel. I want my windows to use the nameservers that are hosted on the cpanel server. Presently I am adding the zones for the domains that I create on the windows server through whm with the IP of windows server and site starts resolving successfully.
The problem now starts when any user adds or removes subdomains to the plesk server, the dns on the cpanel server need to be modified manually through whm. I want to automate this process. I found the script "adddns" using which I can add new dns zone successfully from the command line, but I am not able to find the script that is actually used for "Editing" the dns zone. Can anyone please let me know what script is used when "Edit DNS Zone" link is clicked in WHM and what parameters are passed to it?
I know this sounds quite strange, but the advantage of doing this are :
1. I will not have to get other nameservers.
2. I can move the accounts freely across the network.
Thanks!