MX - Mail Exchanger Print

  • 13

MX-records identify mail server(s) responsible for a domain name.

When sending an e-mail to "", your mail server must first look up the MX-record for "" to see which mail server actually handles mail for "" (this could be "" - or someone else's mail server like ""). Then it looks up the A-record for the mail server to connect to its IP-address.

An MX-record has a "Preference" number indicating the order in which the mail server should be used. (Only relevant when multiple MX-records are defined for the same domain name). Mail servers will attempt to deliver mail to the server with the lowest preference number first, and if unsuccessful continue with the next lowest and so on.

An MX-record identifies the name of a mail server server - not the IP-address. Because of this, it is important that an A-record for the referenced mail server exists (not necessarily on your server, but wherever it belongs), otherwise there may not be any way to find that mail server and communicate with it.

Do not point an MX record to a CNAME-record. Many e-mail servers don't handle this. Add another A-record instead.

You can use the MX-record in the normal form or the raw form on our servers. The format in which to enter the data is as follows:

Standard form:
@ MX 10
@ MX 20
mail A

Raw form:
@ 43200 MX 10
@ 43200 MX 20
mail 43200 A

Where 'mail' is a subdomain A-record pointed to an IP address of mail server 1 and the 1st mail server to be used is set with a priority of 10 and pointed to that A record with the MX type. The second mail server has a priority of 20 and points to another A record on a different domain. 43200 is the TTL in seconds.


Priority is used for MX and F (forwarding) records.

Priorities for MX

Priorities for F

5 - highest

1 – Forward (302 redirect)


2 – Use Frames


3 – Use 301 redirect













90 – lowest


For forwarding records, a priority of 1 indicates a straight forward, 2 specifies “masking”
(putting the request inside a frame). The default value is 1.

Var dette svaret til hjelp?