hookable event of DNS operation
Dear All.
Let's say I have a bunch of shared hosting server and a single DNS cluster with 3 member (i.e : ns1.bino.com, ns2.bino.com, ns3.bino.com)
My Question is :
1. Each time a Record is edited/added to a zone in a Hosting server, will the hosting server call all the 3 DNS cluster member or just one of it ?
2. At the DNS cluster member side, each time a hosting server make a call :
2.a. what event is trigered ?
2.b. is it hookable ?
Well .. basicaly my case is : Some of my park their domain outside my network, currently they use 'IN A' to point to their site ... it's a problem for me whenever I need to move their site from one server to the other.
So my approach to this problem is force them to use a CNAME.
Sincerely
-bino-
-
. Each time a Record is edited/added to a zone in a Hosting server, will the hosting server call all the 3 DNS cluster member or just one of it ?
They're all three called separately in most cases though depending on your configuration it could be different.. At the DNS cluster member side, each time a hosting server make a call : 2.a. what event is trigered ? 2.b. is it hookable ?
To identify if the event is hookable you might want to look here: Guide to Standardized Hooks - Hookable Events - Developer Documentation - cPanel Documentation0 -
Well .... I read it but I only found about 'Parked Domain'. How about 'addon domain' ? 0 -
Hello @binooetomo In the guide it notes: [QUOTE]The Cpanel category creates hookable events for cPanel API 2, or cPanel API 2 Functions - AddonDomain::addaddondomain - Developer Documentation - cPanel Documentation cPanel API 2 Functions - AddonDomain::deladdondomain - Developer Documentation - cPanel Documentation UAPI Functions - DomainInfo::list_domains - Developer Documentation - cPanel Documentation 0
Please sign in to leave a comment.
Comments
3 comments