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

Just a quick question about A and MX records.

If I have a domain that I have purchased, and I want to get remote mail working eventually, to say:, do I just put in with my hosting provider an A record like: Record Record Type=A Record Value=my ip address

Also, with MX records, at the moment I have an entry as such: Priority=10 Host=@ Goes

How do I set it up so that I can forward email to an exchange server that I'm trying to setup.


share|improve this question
up vote 2 down vote accepted

Your assumptions about A-records are correct.

MX records are quite easy to understand, it's the same as A-records expect that they have a cost field to either have backup MX'es (very common) or for load-balancing (common for heavy traffic).

MX 10
MX 20
MX 10
MX 10
MX 20

(and so on. Lower cost = higher priority)

In your example you wanna change your MX record to point to your own mail server, but I highly recommend that you get a backup MX somewhere - on a totally different internet provider than your own servers.

share|improve this answer
Just for completion: the lower the mx priority number the more preference. – Oscar Aug 2 '10 at 12:16
That's why it's actually the costs of using the respective MX host rather than its priority. I don't know who came up with the "priority" term. – joschi Aug 2 '10 at 12:51
I think the term "priority" is a windows thing. The RFC states about "preference number", which is equally weird ;-) – Oscar Aug 2 '10 at 13:06
Ah, forgot it was named cost. Thanks for the comments, I've updated my answer. – pauska Aug 2 '10 at 14:00

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.