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.

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:
    6
    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:
    1
    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.
     
  3. binaer

    binaer Well-Known Member

    Joined:
    Jul 6, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    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