Introduction
When using the DNS Cluster feature with cPanel, there may be a time where you want to ensure all zonefiles are synchronized. This can be accomplished in the WHM interface, or by command-line.
Procedure
To sync by the WHM interface, use the following:
1. Log into WHM as 'root'.
2. Navigate to the following location: WHM: Home -> DNS Functions -> Synchronize Records

3. Select toggle 'Synchronize all zones to all servers'
4. Check the box for 'Synchronize zones that are not configured on this server' if you want to synchronize zonefiles that were not created directly on the main server
5. Hit the 'Synchronize' button on the bottom
To sync by a command-line, use one of two following options.
1. Log into the 'main' server where the DNS Cluster is configured by SSH.
2. To sync all zones to all server, use the following command:
/scripts/dnscluster syncall
Example output:
# /scripts/dnscluster syncall
Syncing Zones to all machines in cluster.......Done
1. Log into the 'main' server where the DNS Cluster is configured by SSH.
2. To sync all zones to all server that includes zones not created directly on the main server, use this command:
/scripts/dnscluster syncall --full
Example output:
# /scripts/dnscluster syncall --full
Syncing Zones to all machines in cluster....(full).....Done
Comments
0 comments
Article is closed for comments.