Skip to content

What is an MX record?

By Ash, Founder, HosteazePublished 1 min read

An MX (mail exchange) record is a DNS setting that tells the internet which mail server receives email for your domain. Each record has a priority number and a server name, and senders try the lowest number first. If your MX records are missing or wrong, email sent to your domain can't be delivered.

Three wall-mounted letterboxes in black, green and red, each one a different place post can be delivered
Credit: stux via Pixabay

When someone emails hello@yourbusiness.co.uk, their mail server has one question: where do I take this? The MX record is the answer. It's the forwarding address for your domain's post, and it lives in your DNS alongside the records for your website.

What does an MX record look like?

Here's Google's own, which we looked up in October 2026:

google.com.   MX   10 smtp.google.com.
PartMeaning
google.com.The domain receiving the email. In most DNS panels you enter this as @.
10The priority. Lower numbers are tried first.
smtp.google.com.The mail server that accepts the email.

A domain with a backup server might have two records, 10 mail1.example.com and 20 mail2.example.com. Senders try mail1 first and only use mail2 if it doesn't respond. Two records with the same number share the load.

When do I need to change my MX records?

When you move your email to a different provider, such as switching to Google Workspace or Microsoft 365. Your new provider gives you the exact values. Remove the old MX records when you add the new ones, or some email will keep going to the old provider.

Changing MX records doesn't move your old emails, it only changes where new ones arrive. Changes usually take effect within an hour, but can take longer; see how long DNS propagation takes.

What are the common MX mistakes?

MX records decide where your email arrives. Whether your outgoing email is trusted is a different job, handled by SPF and DKIM.

Frequently asked questions

Can a domain have more than one MX record?

Yes, and most do. Senders try the lowest priority number first and move to the next if that server doesn't answer.

Can an MX record point to an IP address?

No. It must point to a hostname, such as mail.example.com, which in turn has an A or AAAA record. It also shouldn't point to a CNAME.

Do MX records affect my website?

No. MX records only handle incoming email. Your website uses A and CNAME records, so you can host your site and your email with different companies.

Sources

  1. RFC 5321, Simple Mail Transfer Protocol (section 5, address resolution)
  2. RFC 2181, Clarifications to the DNS Specification (section 10.3)
  3. Google Workspace, Set up MX records
A weathered parking meter whose dial reads Time Expired, the moment a domain stops working if nobody renews it.QuestionWhat happens when a domain expires?When a domain expires, it soon stops working, so your website and email go down, although .uk domains keep running for the first 30 days. You can usually still renew it during a grace period. After that comes a redemption period, when recovery is still possible but slower, and finally the name is released for anyone to register.Email and domains · 18 November 2026Rows of identical letterboxes along a wall, each one getting its own copy of the post, the way a distribution list delivers email.QuestionShared mailbox vs distribution list, which should I use?Use a shared mailbox when a team needs to work from one inbox, such as info@ or support@, so everyone sees the same messages and replies. Use a distribution list when you just want an email copied to several people's own inboxes, such as all-staff@. Shared mailboxes suit customer enquiries. Distribution lists suit announcements.Email and domains · 16 November 2026A brick footpath through a park that splits into two routes, like the choice between Microsoft 365 and Google Workspace.ComparisonMicrosoft 365 vs Google Workspace for small businessBoth give you professional email on your own domain, cloud storage and video calls, and both cap their business plans at 300 users. Pick Microsoft 365 if your team relies on desktop Word, Excel and Outlook. Pick Google Workspace if you work mostly in a browser and collaborate on shared documents. Email quality is a tie.Email and domains · 14 November 2026A wall of numbered wooden post office boxes, where mail waits on site until its owner collects it.QuestionIMAP vs POP3, which should I use?Use IMAP. It keeps your email on the server and syncs it, so your phone, laptop and webmail all show the same inbox, folders and read messages. POP3 downloads messages to one device and usually deletes them from the server, which made sense when storage was scarce. Today it mostly causes lost emails and confusion.Email and domains · 12 November 2026Young seedlings growing in a black plastic tray, a reminder that a new domain's reputation has to be grown slowly.QuestionHow to warm up a new email domainWarming up a new email domain means building a good sending reputation before you send in bulk. Set up SPF, DKIM and DMARC first. Then start with small, steady sends to people who expect your email, increase volume gradually, and watch your spam complaint rate, keeping it well under Google's 0.3% limit.Email and domains · 10 November 2026

Want email on your own domain?

Hosteaze hosting plans let you set up mailboxes on your own domain. See what each plan includes.

See hosting plans