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

  1. Well-Known Member

    Nov 4, 2002
    Likes Received:
    Trophy Points:
    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?


    IN 14400 MX 0


    IN 14400 MX 0

    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.

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