Can I get a hook to call a script anytime cPanel/WHM modifies a dns zone?
This would be super useful to integrate cPanel with other external DNS services (Route53, Rackspace DNS, Google Cloud DNS, etc)
We're looking into providing AnyCast DNS + LSLB servers around the world to provide an advanced CDN system to our customers. For anycast we need to be able to have all DNS record changes applied via an API.
It is very interesting to be able to integrate Google's Anycast DNS and thus be able to reduce the latency of DNS requests at a global level.
Right now I have custom scripts as crons that check local DNS records and add/update/delete records at Digital Ocean, AWS, and Linode. This has proven to be a bit messy.
I would like to hook my scripts so that these DNS changes are immediate and integration is seamless in my solution.
One of the major issues with cPanel right now is it's lack of cloud readiness. I'm fine with a one box wonder, but we need at least some tooling so that this software stays somewhat competitive with industry standards these days. This would be one of those features that help.
I am really looking for this. do you mind sharing that ? i host several websites in digitalocean thus its making me go crazy on managing dns because i freequently switch between servers and its hard to change name servers / sync dns with digitalocean.
Wow, 5 years and this hasn't been added? all DNS actions should have hooks.
Now, you can always do it like a pro , first you need to read https://documentation.cpanel.net/display/DD/Guide+to+Custom+dnsadmin+Plugins and then you should be able to either hire someone or code it yourself, you can "easily" create your own type of "DNS cluster" and do lots of things.
Is this feature available ?
We want to setup our own CDN but need to automate keeping CDN DNS servers in sync with cPanel servers and dont want to remove the ability for customers to edit their DNS zones in cPanel.
Replies have been locked on this page!
cPanel, WebHost Manager and WHM are registered trademarks of cPanel, L.L.C. for providing its computer
software that facilitates the management and configuration of Internet web servers.