Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 have just installed mail enable on my server.

I need help understanding what is the IP of my mail server and where to point my MX records?

Say if my server IP is is this where I point my MX records etc?

share|improve this question
up vote 1 down vote accepted

To get email working you actually need 2 DNS records.

  1. Create an "A" record that gives a name to the mail server and points to the IP. eg: A
  2. Create an "MX" record that points to your mail server name. eg: MX 10

The 10 in above example is the priority. If you have multiple records, the lower the number, the higher the priority.

share|improve this answer
so to be clear...i have an a record for and then an a record for which both point to the same ip? – Beginner Dec 6 '12 at 9:12
then i point the mx record at – Beginner Dec 6 '12 at 9:12
A records tell which IP belongs to which name, since you need to point an MX record to a name, you also need to match that name to a IP address. the A record for "" is not required, however you probably want to point such an address to your http server. – Flash Dec 6 '12 at 9:51

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.