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!

Change MX-Entries

Discussion in 'General Discussion' started by binaer, Oct 30, 2008.

  1. binaer

    binaer Well-Known Member

    Joined:
    Jul 6, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    156
    Hello community

    I need some Ideas and Inputs...

    case:
    1. at this time, all DNS-Records normally show's to one Server for E-Mail, Webhosting, FTP and so on
    2. some of our customers have own MX-Records

    target:
    1. all MX-Records from all Addon/Parked/Subdomains (some thousands...) should be changed to an external Mailserver
    2. except they set own (not equal to DNS-Entryname)

    Does anyone have an Idea how I can filter, change and apply this?
     
  2. jBillu

    jBillu Member

    Joined:
    Oct 21, 2008
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    51
    Hi,

    If you want to find out those DNS zone files that are not using external MX and want to change their MX afterwards to some external MX, then you can write some sort of bash script to do this job for you. The question here is if you have access to the DNS zone files or not via shell. Not sure if you have root access to the server where you are managing the DNS for all those domains.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. binaer

    binaer Well-Known Member

    Joined:
    Jul 6, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    156
    Hi

    thank you for your Reply.

    Yes, I've Root-Access on the Server...

    How do you think could this Shell-Script looking? Because, the MX-Entry is dynamic, i.e. domain.com has an MX for 0 domain.com.
     
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