Introduction
When using the DNS Cluster feature in cPanel, you may want to ensure that all zone files are synchronized. This can be accomplished either in the WHM interface or on the command line.
Procedure
To sync via WHM
- Log in to WHM as 'root'.
- Navigate to "Home » DNS Functions » Synchronize Records":
- Select toggle 'Synchronize all zones to all servers'.
- Mark the box for 'Synchronize zones that are not configured on this server' if you want to synchronize zone files that were not created directly on the main server.
- Select the 'Synchronize' button on the bottom.
To sync via the command-line
- Log in to the primary server via SSH.
- Run one of these commands:
- To sync all zones created on the server to other servers:
/scripts/dnscluster syncall
Example output:
/scripts/dnscluster syncall
Syncing Zones to all machines in cluster.......Done - To sync all zones in the cluster, including zones not created directly on this server:
/scripts/dnscluster syncall --full
Example output:
/scripts/dnscluster syncall --full
Syncing Zones to all machines in cluster....(full).....Done
- To sync all zones created on the server to other servers:
Comments
0 comments
Article is closed for comments.