MX errors

Discussion in 'Server Operation' started by staticanime, Sep 4, 2008.

  1. staticanime

    staticanime New Member

    I recently re-configured my MX entries to run my mail through google mail, but it's not working :(

    http://private.dnsstuff.com/tools/traversal.ch?domain=staticanime.net&type=MX

    Here's my staticanime.net. zones file:
    Code:
    $ttl 3600
    staticanime.net.	IN	SOA	ns363416.ovh.net. admin.staticanime.net. (
    			1219052887
    			10800
    			3600
    			604800
    			38400 )
    staticanime.net.	1H	IN	NS	ns363416.ovh.net.
    staticanime.net.	IN	A	91.121.181.5
    www.staticanime.net.	IN	A	91.121.181.5
    ftp.staticanime.net.	IN	A	91.121.181.5
    mail.staticanime.net.	1H	IN	CNAME	ghs.google.com.
    ASPMX.L.GOOGLE.COM.	1H	IN	MX	1 ASPMX.L.GOOGLE.COM.
    ALT1.ASPMX.L.GOOGLE.COM.	1H	IN	MX	5 ALT1.ASPMX.L.GOOGLE.COM.
    ALT2.ASPMX.L.GOOGLE.COM.	1H	IN	MX	5 ALT2.ASPMX.L.GOOGLE.COM.
    ASPMX2.GOOGLEMAIL.COM.	1H	IN	MX	10 ASPMX2.GOOGLEMAIL.COM.
    ASPMX3.GOOGLEMAIL.COM.	1H	IN	MX	10 ASPMX3.GOOGLEMAIL.COM.
    
     
  2. falko

    falko Super Moderator Howtoforge Staff

    This is what I'm getting:

    Code:
    mh1:~# dig mx staticanime.net
    
    ; <<>> DiG 9.3.4 <<>> mx staticanime.net
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11391
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 7
    
    ;; QUESTION SECTION:
    ;staticanime.net.               IN      MX
    
    ;; ANSWER SECTION:
    staticanime.net.        3600    IN      MX      10 ASPMX2.GOOGLEMAIL.COM.
    staticanime.net.        3600    IN      MX      10 ASPMX3.GOOGLEMAIL.COM.
    staticanime.net.        3600    IN      MX      1 ASPMX.L.GOOGLE.COM.
    staticanime.net.        3600    IN      MX      5 ALT1.ASPMX.L.GOOGLE.COM.
    staticanime.net.        3600    IN      MX      5 ALT2.ASPMX.L.GOOGLE.COM.
    
    ;; ADDITIONAL SECTION:
    ASPMX3.GOOGLEMAIL.COM.  608     IN      A       64.233.167.27
    ASPMX.L.GOOGLE.COM.     196     IN      A       66.249.83.114
    ASPMX.L.GOOGLE.COM.     196     IN      A       66.249.83.27
    ALT1.ASPMX.L.GOOGLE.COM. 157    IN      A       66.249.91.27
    ALT2.ASPMX.L.GOOGLE.COM. 157    IN      A       74.125.45.114
    ALT2.ASPMX.L.GOOGLE.COM. 157    IN      A       74.125.45.27
    ASPMX2.GOOGLEMAIL.COM.  2857    IN      A       209.85.135.27
    
    ;; Query time: 59 msec
    ;; SERVER: 213.191.92.84#53(213.191.92.84)
    ;; WHEN: Thu Sep  4 15:58:26 2008
    ;; MSG SIZE  rcvd: 278
    
    mh1:~#
     
  3. staticanime

    staticanime New Member

    Yeah, I didn't get a chance to reply earlier. Anyway, I fixed it, it was just my own stupidity (I typo'd)

    The Original zones file was wrong, it should have been this:
    Code:
    $ttl 3600
    staticanime.net.	IN	SOA	ns363416.ovh.net. admin.staticanime.net. (
    			1219052887
    			10800
    			3600
    			604800
    			38400 )
    staticanime.net.	1H	IN	NS	ns363416.ovh.net.
    staticanime.net.	IN	A	91.121.181.5
    www.staticanime.net.	IN	A	91.121.181.5
    ftp.staticanime.net.	IN	A	91.121.181.5
    mail.staticanime.net.	1H	IN	CNAME	ghs.google.com.
    staticanime.net.	1H	IN	MX	1 ASPMX.L.GOOGLE.COM.
    staticanime.net.	1H	IN	MX	5 ALT1.ASPMX.L.GOOGLE.COM.
    staticanime.net.	1H	IN	MX	5 ALT2.ASPMX.L.GOOGLE.COM.
    staticanime.net.	1H	IN	MX	10 ASPMX2.GOOGLEMAIL.COM.
    staticanime.net.	1H	IN	MX	10 ASPMX3.GOOGLEMAIL.COM.
     

Share This Page