Got a JAMB or WAEC student at home? Free CBT practice, daily questions, and monthly cash rewards for top students on the WNG Student Hub.Practice Free

What Is an MX Record?

What Is an MX Record?

Community › Domain Names

Frank ApokwuezeWinig
1156 discussions | 33 replies

8 views

An MX record (Mail Exchange record) is a type of DNS record that tells the internet where to deliver email for your domain.

For example, if your website is:

example.com

and you have an email address:

info@example.com

the MX record tells mail servers which server is responsible for receiving emails sent to info@example.com.

Think of it this way:

Domain → MX Record → Mail Server → Your Inbox

Simple example

An MX record might look like:

example.com    MX    10    mail.example.com

Here:

MX means Mail Exchange.

10 is the priority. Lower numbers generally have higher priority.

mail.example.com is the mail server that should receive the email.

So when someone sends an email to info@example.com, the sending mail server checks the DNS records for example.com, finds the MX record, and then connects to the specified mail server to deliver the message.

Why MX records matter

If your domain has no correctly configured MX records, your domain may not be able to receive email properly.

For example, if you create:

contact@yourbusiness.com

but forget to configure the correct MX records, someone could send an email to that address and the message may fail to reach your mailbox.

MX records and Gmail

If you use Google Workspace for your business email, Google provides MX records that you add to your domain’s DNS settings. These records tell the internet to deliver your domain’s email to Google’s mail servers.

Similarly, services such as Microsoft 365 and many hosting companies provide their own MX records.

MX priority

A domain can have multiple MX records:

10    mail1.example.com
20    mail2.example.com
30    mail3.example.com

The mail server with the lowest priority number is normally attempted first. If that server cannot accept the message, the sending system can try another MX server.

MX record vs A record

This distinction is important:

A record: tells DNS where a domain or hostname points for an IP address.

MX record: tells email systems where to deliver email.

So:

A Record
example.com → 192.0.2.10

means the website/domain points to that IP address.

Whereas:

MX Record
example.com → mail.example.com

means email for the domain should be delivered through that mail server.

In one sentence: An MX record is essentially the postal address for your domain’s email system. It tells other mail servers where to take messages sent to your domain.

 

Join the conversation. What is your own experience with this? Share your answer below, ask a follow-up question, or post what worked for you.
Frank Apokwueze
https://www.franklyntechnologies.com.ng

Frank Apokwueze is a technology enthusiast, website developer, SEO strategist, and digital business advocate passionate about helping individuals and businesses build a stronger presence online. Through Franklyn Technologies, he shares practical insights on website development, SEO, digital marketing, online business, and emerging technology to help readers understand and take advantage of the digital world.

Post a reply