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.

Need a simple way to change MX records on all dns zones

Discussion in 'Bind / DNS / Nameserver Issues' started by Pyro411, Mar 17, 2004.

Thread Status:
Not open for further replies.
  1. Pyro411

    Pyro411 Active Member

    Joined:
    Oct 2, 2002
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Stanton, Michigan.
    is there a way I can run a simple command or small batch file to change all the mx records from all the local domains?

    from
    IN 14400 MX 0 domain1.com.
    IN 14400 MX 0 domain2.com.
    etc

    to IN 14400 MX 0 ext.virusscanner.com.

    I wasn't sure if there'd be any way I could run a replace "%domain%" ext.virusscanner.com -- domain*.ext.db

    no huge rush, just wondering on it.
     
  2. Hostbox.be

    Hostbox.be Well-Known Member

    Joined:
    Nov 4, 2002
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Same question ! Anyone has a solution for this ?
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Please don't revive ancient threads.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page