The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'cPanel Developers' started by 4u123, Nov 6, 2013.

  1. 4u123

    4u123 Well-Known Member
    PartnerNOC

    Joined:
    Jan 2, 2006
    Messages:
    765
    Likes Received:
    1
    Trophy Points:
    18
    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?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...
Similar Threads - Updating records domains
  1. Saeb
    Replies:
    17
    Views:
    1,532

Share This Page