The Remote module — The Remote module communicates with other servers in the DNS cluster.
Servers that use custom dnsadmin plugins must disable the dnsadmincheckbox for the Dormant services setting in the Software section of WHM's Tweak Settingsinterface (WHM >> Home >> Server Configuration >> Tweak Settings).
The dnsadmin system
The dnsadmin system manages local DNS zones and communicates with remote systems (nodes) in your DNS cluster.
When you call a DNS-related API function, the dnsadmin system can make a second call to an external API. The initial WHM API function's result determines the response function that the dnsadmin system calls. The dnsadmin system always makes this call to every node in the DNS cluster.
The dnsadmin system passes the action to the nodes for the account that made the request. Each node has a specific role that determines which commands it can send and receive.
The system assigns each action a dnsuniqid identification value. This ID is a random string that prevents duplicate actions in complicated peering setups in which member servers may repeat a single request.
Test your modules
After you create your custom Setup and Remote modules and store them in the appropriate directories, perform the following steps to test them:
On a development cPanel & WHM server, navigate to WHM'sDNS Cluster interface (WHM >> Home >> Clusters >> DNS Cluster).
The Backend Type menu should include your custom server type.
If the menu correctly includes your custom server type, select it.
If your custom server type does not appear in the menu, check to ensure that the file is in the /usr/local/cpanel/Cpanel/NameServer/Setup/Remote/ directory.
Click Configure. A new interface will appear.
The interface should include your custom form.
If the interface appears as expected, enter the appropriate data and click Submit.
If the interface does not appear as expected, check for errors in the get_config() subroutine in your Setup module.
After you click Submit, the Setup module's setup() subroutine handles the data. A message of success or failure appears.
Custom dnsadmin Plugins
About the dnsadmin system
The dnsadmin system manages local DNS zones and communicates with remote systems (nodes) in a DNS cluster.
Custom dnsadmin modules update DNS cluster nodes in real time.
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. ®2020 All rights reserved.