Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to set up MX records so they point to an external mail server. My zone file looks like this:

@                        IN A       x.x.x.x
localhost                IN A
mail                     IN A       x.x.x.x
www                      IN A       x.x.x.x
imap                     IN CNAME   www
loopback                 IN CNAME   localhost
pop                      IN CNAME   www
smtp                     IN CNAME   mail
@                        IN MX 10
@                        IN MX 20

x.x.x.x is the IP for my domain.

Both nslookup and the external mail host tell me that they're seeing, i.e. my domain is simply added to the MX domain. Could someone please point me in the right direction?

Thanks in advance!

share|improve this question
up vote 11 down vote accepted

Put periods on the ends of the MX records.

(Forceds them to be FQDN instead of relative).

share|improve this answer
It works now. Many thanks! – user26511 Nov 18 '09 at 18:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.