Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

Discussion in 'Bind/DNS/Nameserver' 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:
    156
    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:
    156
    Same question ! Anyone has a solution for this ?
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,561
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Please don't revive ancient threads.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice