Changing MX records in named zone file

dns-hostingdns-zonedomain-name-systemmx-record

I forgot how all this works. I have a GoDaddy account, using my own DNS and whatnot. I'm having trouble getting my email to work. They said I need to update my MX records. basically, I have the following. 184.168.30.42 is the domain's IP address, obviously.

gamengai.com.   14400   IN      NS      n1
gamengai.com.   14400   IN      NS      n2
ns1             14400   IN      A       184.168.30.42
ns2             14400   IN      A       184.168.30.42
gamengai.com.   14400   IN      A       184.168.30.42
localhost       14400   IN      A       127.0.0.1
ftp             14400   IN      A       184.168.30.42
www             14400   IN      A       184.168.30.42
mail            14400   IN      A       184.168.30.42
subdomain       14400   IN      A       184.168.30.42
gamengai.com    14400   IN      MX      10      mail

Mail doesn't work though… they say to make the following change:

0   smtp.secureserver.net
10  mailstore1.secureserver.net

So should the last line point to mailstore1.secureserver.net instead of mail in the last field? What about the other line?

I had this working at one time, but it's totally gotten away from me. It's a virtual dedicated server and their support for this stuff is pretty bad… almost as bad as my admin skills since I went the programmer route.

Best Answer

Your problem is missing trailing dot in your MX records.

Domain names in your zone file which don't end with a dot, considered relative to the zone domain. This is how you have defined ftp.gamengai.com, www.gamengai.com etc.

Currently your zone have no MX records for gamengai.com, instead it have MX records for gamengai.com.gamengai.com

dig gamengai.com.gamengai.com MX +short
10 mailstore1.secureserver.net.gamengai.com.
0 smtp.secureserver.net.gamengai.com.

Aparently, now trailing dot is missing in both - label and target hostname of the MX record.

Related Topic