Updating MX records for all domains in "localdomains" file.

4u123

Well-Known Member
PartnerNOC
Jan 2, 2006
948
29
178
Hi, I need to do the following...

1. Update the MX record in the DNS zone file for all domains contained in the /etc/localdomains file. The new destination hostname being the domain itself. This can be a simple replace of the existing hostname, as this will currently be only one of four specific destinations.
2. Update the zone file serial no.
3. Sync the DNS zone with the cluster.

Can anyone recommend a good developer who is familiar with cpanel who would be able to do this for me at a reasonable cost?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Can anyone recommend a good developer who is familiar with cpanel who would be able to do this for me at a reasonable cost?
You can find a list of development services on our application catalog:

cPanel - Application Catalog

Note that the last two steps are pretty straightforward. This post explains how to increment the serials for all zones:

Increment serial for all zones

The following command will sync all zones to the cluster:

Code:
/usr/local/cpanel/scripts/dnscluster syncall --full
The first step could be achieved with the "replace" utility if necessary.

Thank you.