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 just configuring the dns of a new domain name which I´m going to host on my own server (which runs a mail server).

My question is... where do I point the mx records on the dns panel?

Thanks in advance!

share|improve this question
Hi Simon. Thanks for using SF for this type of questions. You will need to provide a few more bits of information in order for someone to answer the question. Please provide, what dns software you are running (eg. Bind 8,9, Windows)? Also the operating System. MX records usually are point to A record. – Geo Aug 23 '09 at 20:06

If you set up a name for this server, like IN A

then you set up a MX server like IN MX 10

share|improve this answer
+1 succinct, to the point and correct, ftw! – Mark Henderson Aug 23 '09 at 20:27
+1, you should have used the domain and an ip from instead (because that is for documentation and examples) – mihi Aug 23 '09 at 21:40
Thanks for your answers. So first, I must create a "mail" cname pointing to the server ip, and then a mx record pointing that cname, correct? Just one mx record? I´m used to the google apps mail app where I have to modify 5 of them. Thanks in advance! – Simon Aug 24 '09 at 14:09
The "mail" record is an "A" record, not a "CNAME" record. "A" records point to IP addresses, CNAMES are pointers to another name. The name "mail" is arbitrary in this example - it can be whatever that machine is named. You can create as many MX records as you need. If you have only one email server, you only need one. Google maintains many so that there is automatic fail-over for busy or missing machines. The "10" is a standard for the final destination serve, higher #'s are tried if lower ones are not avail. – Devin Ceartas Aug 24 '09 at 14:32
Devin is right. Do not use a CNAME for your MX record. It is out-of-spec and some servers will even refuse to send mail to an MX listed with a CNAME record. – Nate Aug 24 '09 at 17:49

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.