Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 15 of 15
  1. #1
    Member
    Join Date
    May 2004
    Posts
    24

    Default Gmail host changing domains MX records in WHM

    How do I add these to the MX records in WHM?

    MX Server address Priority
    ASPMX.L.GOOGLE.COM. 1
    ALT1.ASPMX.L.GOOGLE.COM. 5
    ALT2.ASPMX.L.GOOGLE.COM. 5
    ASPMX2.GOOGLEMAIL.COM. 10
    ASPMX3.GOOGLEMAIL.COM. 10
    ASPMX4.GOOGLEMAIL.COM. 10
    ASPMX5.GOOGLEMAIL.COM. 10

    I attempted to do this but it seems to have changed nothing. I was also only able to put in the first value how would I go about putting all of these values into the MX records.

  2. #2
    Member
    Join Date
    Jan 2005
    Posts
    1,880

    Default

    You'd need to choose the option to edit a whole dns zone, not just to edit the mx records.

    You can then pop in as many mx records as you like.

  3. #3
    Member
    Join Date
    May 2004
    Posts
    24

    Default

    I attempted to do that the first time and I just tried again. I get a message saying.

    dns_master_load: /tmp/cpanel.TMP.vr4eCcNl6Wj9qcWg:19: ignoring out-of-zone data (ASPMX.L.GOOGLE.COM)
    zone smoothdesigners.com/IN: loaded serial 2005110604
    OK

    Bind reloading on cpanel using rndc zone: [smoothdesigners.com]


    Zone Modified!

    Then I go back to look at the dns zone and I see no changes. Any ideas?

  4. #4
    Member Murtaza_t's Avatar
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    471

    Default

    The best way to do it would be SSH your server and change the /var/named/<domain.com>.db file and restart named.

  5. #5
    Member
    Join Date
    May 2004
    Posts
    24

    Default

    alright last question. Sorry i am still new to this side of things.

    I have:
    ASPMX.L.GOOGLE.COM. 14400 IN MX 0 mail.smoothdesigners.com.

    Stored for the only one that saves. I know what the aspm... the 14400 ttl, it's stored in the MX recoreds. But what is the '0' for. Is this priority? and for the last statement can I set them all to mail.smoothdesigners.com?

    So my next line would look like:
    ALT1.ASPMX.L.GOOGLE.COM. 14400 IN MX 1 mail.smoothdesigners.com
    correct?

    Thanks for all the help so far.

  6. #6
    Member Murtaza_t's Avatar
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    471

    Default

    Yes it is the priority...

    The next line should be :
    Code:
    ALT1.ASPMX.L.GOOGLE.COM. 14400 IN MX 10 mail.smoothdesigners.com
    It is good to have difference of 10+...

  7. #7
    Member
    Join Date
    May 2004
    Posts
    24

    Default

    Alright. Thanks for the help.

  8. #8
    Member
    Join Date
    May 2004
    Posts
    24

    Default

    I made the edits like you suggested. It never seemed to change, though those entries showed up in the edit DNS zone. But when i hit submit with those entries in i recieve an error message saying:

    dns_master_load: /tmp/cpanel.TMP.2jVFVj_RGN4ya_of:19: ignoring out-of-zone data (ASPMX.L.GOOGLE.COM)
    dns_master_load: /tmp/cpanel.TMP.2jVFVj_RGN4ya_of:20: ignoring out-of-zone data (ALT1.ASPMX.L.GOOGLE.COM)
    dns_master_load: /tmp/cpanel.TMP.2jVFVj_RGN4ya_of:21: ignoring out-of-zone data (ALT2.ASPMX.L.GOOGLE.COM)
    dns_master_load: /tmp/cpanel.TMP.2jVFVj_RGN4ya_of:22: ignoring out-of-zone data (ASPMX2.GOOGLEMAIL.COM)
    dns_master_load: /tmp/cpanel.TMP.2jVFVj_RGN4ya_of:23: ignoring out-of-zone data (ASPMX3.GOOGLEMAIL.COM)
    dns_master_load: /tmp/cpanel.TMP.2jVFVj_RGN4ya_of:24: ignoring out-of-zone data (ASPMX4.GOOGLEMAIL.COM)
    dns_master_load: /tmp/cpanel.TMP.2jVFVj_RGN4ya_of:25: ignoring out-of-zone data (ASPMX5.GOOGLEMAIL.COM)

  9. #9
    Member Murtaza_t's Avatar
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    471

    Default

    Quote Originally Posted by j0hnb
    I made the edits like you suggested. It never seemed to change, though those entries showed up in the edit DNS zone. But when i hit submit with those entries in i recieve an error message saying:

    dns_master_load: /tmp/cpanel.TMP.2jVFVj_RGN4ya_of:19: ignoring out-of-zone data (ASPMX.L.GOOGLE.COM)
    dns_master_load: /tmp/cpanel.TMP.2jVFVj_RGN4ya_of:20: ignoring out-of-zone data (ALT1.ASPMX.L.GOOGLE.COM)
    dns_master_load: /tmp/cpanel.TMP.2jVFVj_RGN4ya_of:21: ignoring out-of-zone data (ALT2.ASPMX.L.GOOGLE.COM)
    dns_master_load: /tmp/cpanel.TMP.2jVFVj_RGN4ya_of:22: ignoring out-of-zone data (ASPMX2.GOOGLEMAIL.COM)
    dns_master_load: /tmp/cpanel.TMP.2jVFVj_RGN4ya_of:23: ignoring out-of-zone data (ASPMX3.GOOGLEMAIL.COM)
    dns_master_load: /tmp/cpanel.TMP.2jVFVj_RGN4ya_of:24: ignoring out-of-zone data (ASPMX4.GOOGLEMAIL.COM)
    dns_master_load: /tmp/cpanel.TMP.2jVFVj_RGN4ya_of:25: ignoring out-of-zone data (ASPMX5.GOOGLEMAIL.COM)
    I think I suggested you to change the DNS zone files through SSH and I suppose you are trying to add them through WHM.

  10. #10
    Member
    Join Date
    May 2004
    Posts
    24

    Default

    I changed them through SSH, then after 2 days or gmail not noticing the changes I went back in WHM and looked at it. I edited another value, (removed some vent A name values) Hit edit and it gave me that error.

  11. #11
    Member
    Join Date
    Aug 2003
    Posts
    38

    Default

    i was having the same problem, but i figured it out. the entry should look like this:

    domain.com. 14400 IN MX 1 ASPMX.L.GOOGLE.COM.
    domain.com. 14400 IN MX 5 ALT1.ASPMX.L.GOOGLE.COM.
    domain.com. 14400 IN MX 5 ALT2.ASPMX.L.GOOGLE.COM.
    domain.com. 14400 IN MX 10 ASPMX2.GOOGLEMAIL.COM.
    domain.com. 14400 IN MX 10 ASPMX3.GOOGLEMAIL.COM.
    domain.com. 14400 IN MX 10 ASPMX4.GOOGLEMAIL.COM.
    domain.com. 14400 IN MX 10 ASPMX5.GOOGLEMAIL.COM.

    NOT

    ASPMX.L.GOOGLE.COM. 14400 IN MX 1 domain.com.
    etc.
    Last edited by Jorel; 05-03-2006 at 04:30 AM.

  12. #12
    Member
    Join Date
    Aug 2006
    Posts
    34

    Default

    Can you tell me step by step how you did that in WHM or SSH. Kindly mention in step wise order so that I can follow. Thanks a lot.

  13. #13
    Member
    Join Date
    May 2004
    Posts
    24

    Default

    In the end I never got mine working. I gave up after a while. All of the stuff I did i got off of the forums. Changing through WHM was done in edit DNS zone. Changing through ssh, was a simple file modification but I can't remember which file it was and all that. I never made the changes that Jorel mentioned, so it could still work.

  14. #14
    Member
    Join Date
    Aug 2003
    Posts
    38

    Default

    There are two methods, you can use do it by shell or through the WHM.


    In the WHM, under Edit DNS click on "Edit DNS Zone."
    Find your domain and click "Edit."


    Delete out your old MX entry. Then add Google's so it looks like this:
    domain.com. 14400 IN MX 1 ASPMX.L.GOOGLE.COM.
    domain.com. 14400 IN MX 5 ALT1.ASPMX.L.GOOGLE.COM.
    domain.com. 14400 IN MX 5 ALT2.ASPMX.L.GOOGLE.COM.
    domain.com. 14400 IN MX 10 ASPMX2.GOOGLEMAIL.COM.
    domain.com. 14400 IN MX 10 ASPMX3.GOOGLEMAIL.COM.
    domain.com. 14400 IN MX 10 ASPMX4.GOOGLEMAIL.COM.
    domain.com. 14400 IN MX 10 ASPMX5.GOOGLEMAIL.COM.


    Click Save. Bind should reload without any fuss and you should be good
    to go.


    The process is exactly the same using shell access except the file is
    located in /var/named/domain.com.db
    and you need to restart bind afterwards like so:
    service named restart

    all set.

    domain.com. 14400 IN TXT v=spf1 include:aspmx.googlemail.com ~all
    is how one adds the SPF record.

    Also, after the mail servers resolve correctly to google you want to
    edit the domain out of /etc/localdomains and add it to
    /etc/remotedomains so that mail is delivered properly from your server.

  15. #15
    Member
    Join Date
    Mar 2002
    Posts
    442

    Default

    fyi: official google help specifically for whm:

    https://www.google.com/support/a/bin...y?answer=54718
    • Web Design Perth .:. Itomic Business Website Solutions of Perth, Western Australia

Similar Threads & Tags
Similar threads

  1. Changing MX/A records
    By andrewclure in forum New User Questions
    Replies: 1
    Last Post: 01-30-2009, 05:23 PM
  2. Why cant I do SOA records in WHM? SOA records NECESSARY for .su domains!
    By CamronFry in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-31-2005, 12:04 AM
  3. Changing SSL cert for WHM Host
    By lyew in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-16-2004, 10:24 AM
  4. Can we host .cc domains with WHM/CPanel ?
    By YukFoo in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-24-2002, 09:27 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube