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 Hostbox.be, Oct 28, 2009.

  1. Hostbox.be

    Hostbox.be Well-Known Member

    Joined:
    Nov 4, 2002
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    156
    Hi all,

    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.

    to

    IN 14400 MX 0 ext.virusscanner.com.

    Else I have to edit DNS zone per DNS zone and this takes a lot of time if you have hundreds of DNS zones....

    Hope to hear from you.
     
Loading...

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