Skip to main content

Possible to change the IP that DNS Cluster uses?

Comments

6 comments

  • cPanelMichael
    Hello, It's going to use the IP address that's configured for outgoing connections, no matter which service (clustering or otherwise). This is configured through your network configuration files, not through cPanel. The following third-party URL may help:
    0
  • jols
    Thanks for this. Of note however, the DNS clustering configuration files (api?) is located in this directory on the server: /var/cpanel/cluster/root So, I am wondering if we can, in effect, get the clustering to work on some other user, other than "root". In other words, what if I created an account user with their own dedicated IP, let's say "altuser", then I simply changed the /root directory name, in the /cluster dir. like so: /var/cpanel/cluster/altuser ... so that /altuser now contains the clustering configuration files. Now, do you suppose the clustering will use the outbound IP address of /altuser instead of /root?
    0
  • jols
    To add to the above, I seem to have found a page that verifies that my "altuser" assumption may be correct: See:
    0
  • cPanelMichael
    So then, this would seem to suggest that the "actual user setting up the cluster" can be other than "root", if so, we just assign a dedicated IP to that new user, and bingo, the cluster is now being served by that new user's dedicated IP. Is this not correct?

    This is not correct. You are referring to the IP address assigned to the account. This is unrelated to the IP address used for outgoing connections from the server. You have to follow the instructions from my last response if you want to change that IP address. Thank you.
    0
  • jols
    Thanks. Just in case others may be interested, I have been given an alternative method via a support rep, who has helped with this via the cpanel support ticket system. It seems that there is a rather easy method of implementing a secondary route, just for the use with clustering. Though temporary (until the next reboot), this looks like it will work fine. And, there is no need to change the server's main IP address or even to restart networking, to get this going. It has to do with the "route add -host" command at shell. But in any case, thanks for your responses to this thread. I do appreciate all the help I can get, especially when it comes to low level networking stuff like this, which is never going to be my strong suite.
    0
  • cPanelMichael
    It has to do with the "route add -host" command at shell.

    I am happy to see you found a suitable solution. Feel free to update this thread with the full workaround. Thank you.
    0

Please sign in to leave a comment.