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.

Change MX record for almost all domain at once

Discussion in 'Bind / DNS / Nameserver Issues' started by cglmicro, Dec 20, 2014.

  1. cglmicro

    cglmicro Member

    Joined:
    Oct 14, 2013
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi guys.

    I need to update the DNS entries in my WHM for 200+ domains and I don't want to do it in the GUI for each.

    From a linux command line, can I and how to change all zone files located in /var/named/ that contains:
    Code:
    14400	IN	MX	21	mcback.domain.net.
    Code:
    14400	IN	MX	10	mc137.domain.net.
    Is it safe to do this ?

    After this, I suppose I also need to do a full synchronisation from my other NS that is running on WHMDNSONLY ?

    Thank you.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page