Knowledgebase

Understanding DNS MX Records

Understanding DNS MX Records

MX (Mail Exchange) records are used to have email delivered to users on your domain. Every domain name that receives email must also have an MX record assigned to it in the domain name DNS records, and each MX record needs to resolve to either an IP address or a domain alias such as "mail.example.com"

When you send an email to someone, your email "typically" goes from your desktop email software (Such as MS Outlook), to your internet service providers outgoing mail server. Your internet service providers outgoing mail server then checks for an MX record of the domain in the email address and forwards the email to that location for delivery to your mailbox.

Each MX record has 2 pieces of information associated with it. The first is a number (Preference" number), the second is the domain name of the mail server. If there are multiple MX records, the SMTP server (Outgoing mail server) will pick one based on the preference level (starting with the lowest preference number, working its way up).

It's O.K. to have more than one MX record for a domain name.

Example DNS MX records would be:
> "example.com - MX10" mail.example.com"
> "example.com - MX20" mail1.myisp.com"
> "example.com - MX30" mail2.myisp.com"

Your internet service providers outgoing mail server would first try mail.example.com, and if that wasn't reachable, it would try either mail1.myisp.com or mail2.myisp.com until it found a mail server that could accept email, as each MX record might be a totally different server.

  • Email, DNS, MX Records
  • 3568 Users Found This Useful

Was this answer helpful?

Related Articles

Preview before domain propagation?

Many hosts will give you a temporary URL to view your website. Sadly however this causes a lot...

Updating your own Name Servers

If your domain names are registered with us but your website hosted elsewhere and you want to...

What is a DNS CNAME?

Understanding DNS CNAMES   CNAME records are "canonical name" records. DNS allows machines to...

What is DNS?

Understanding what DNS actually is. The "Domain Name System" or DNS is a system that stores...

WESH UK Name Servers / IPS TAG

@ WESH UK We have 2 independent DNS Networks. Depending on the type of Web Hosting you are...