How to create MX mail server record


In order to host e-mails for a domain, you need to add an MX record for that domain name. The MX record needs to be a hostname and it is displayed in the following format:

DNS zone for

Source:               TTL:             Type:    Priority:      Destination:       1800    IN      MX                  1


You can have several MX records with the same or different priority. If the priority is the same number for all of them, the e-mails will be distributed evenly. In case there is an MX record with lower number as priority, it will be actually the first one to use. If it fails, the next MX record with higher priority number is used.


If your mail server does not have a valid hostname setup, you can add an A record in your DNS zone and point it to the Mail server IP where the e-mails should land like bellow:

DNS zone for

Source:                   TTL:             Type:    Priority:       Destination:   1800    IN         A                             1800    IN       MX                  1


Here is an example:     300 IN MX 10   10 IN    A



Was this article helpful?
1 out of 5 found this helpful

Have more questions? Contact our support instantly via Live Chat