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

  1. Hostbox.be

    Hostbox.be Well-Known Member

    Joined:
    Nov 4, 2002
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    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