Add a new DNS cluster using commandline
If I know the accesshash of a remote server, is there a way to setup dns clustering with sync(or any other role) role from the commandline? I know creating the files in /var/cpanel/cluster/root/config with the ip ip-dnsrole will work .But is there a better way ?
-
I know creating the files in /var/cpanel/cluster/root/config with the ip ip-dnsrole will work .But is there a better way ?
Hello, There's not an alternate method of setting up a DNS cluster via the command line. I encourage you to open a feature request if you'd like to see WHM API 1 functions added for this purpose: Submit A Feature Request Thank you.0 -
ok please let me know what config option is changed when cluster is turned on or off . I could not find anything in /var/cpanel/cpanel.config . 0 -
New ok please let me know what config option is changed when cluster is turned on or off . I could not find anything in /var/cpanel/cpanel.config .
The existence of the following file determines whether clustering is enabled on the system:/var/cpanel/useclusteringdns
Thus, if you wanted to enable clustering, you'd run the following command:touch /var/cpanel/useclusteringdns
Thank you.0
Please sign in to leave a comment.
Comments
3 comments