Skip to main content

Add a new DNS cluster using commandline

Comments

3 comments

  • cPanelMichael
    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
  • Anoop P Alias
    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
  • cPanelMichael
    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.