Skip to main content

Cluster setup to sync to outside DNS

Comments

4 comments

  • SactoBob
    So after reading a few other threads (the answer wasn't here), I ran the following command on each server: /scripts/dnscluster syncall After that all the zones showed up on every server and testing by making change to various zones immediately synced to the others. Did I miss a step? Also, if I want to unsync two servers later (for now I synced both webservers with each other), is there an easy way to tell cPanel to remove all the zones it imported that isn't part of any accounts on the local server and cleanup their /var/named directories? The cleanup option did not do that.
    0
  • SactoBob
    Also, I read: [quote]The reverse trust relationship does not currently work without an access hash file on the remote server. You must login to the remote server and add this server to its cluster manager manually if you want the other server to be able to access this one.
    That this was not necessary for v.70 and up as clicking the "Setup Reverse Trust Relationship" is already done for you?
    0
  • cPanelLauren
    So after reading a few other threads (the answer wasn't here), I ran the following command on each server: /scripts/dnscluster syncall After that all the zones showed up on every server and testing by making change to various zones immediately synced to the others. Did I miss a step?

    The thread I linked you to does include that command...I'm glad that worked for you.
    Also, if I want to unsync two servers later (for now I synced both webservers with each other), is there an easy way to tell cPanel to remove all the zones it imported that isn't part of any accounts on the local server and cleanup their /var/named directories? The cleanup option did not do that.

    It does not do that, you'd need to remove the DNS zones manually if you chose to remove the server from the cluster and no longer wanted the zones hosted.
    That this was not necessary for v.70 and up as clicking the "Setup Reverse Trust Relationship" is already done for you?

    Yea there is currently a case open for this issue CPANEL-15085 to clarify the behavior of the reverse trust relationship when using tokens. Right now you'll need to set the cluster up on both servers.
    0

Please sign in to leave a comment.