MX Lookup
See which servers receive a domain’s email, who hosts it, and anything that would stop mail arriving.
- Live DNS lookup
- Results in seconds
- No sign-up
- Free
Mail servers for github.com
| Priority | Mail server | Addresses | Provider |
|---|---|---|---|
| 0 | github-com.mail.protection.outlook.com | 52.101.42.1452.101.41.2252.101.60.7152.101.60.188 | Microsoft 365 |
-
OK:One mail server
Email is handled by Microsoft 365.
Advertisement
How mail finds your server
To deliver a message to you@example.com, the sending server looks up the MX
records for example.com, sorts them by priority (lowest first), looks up each
server’s IP address and connects. If the first one doesn’t answer, it tries the next. If none
answer, it queues the message and keeps retrying, usually for up to five days, before bouncing
it.
MX records for common providers
Use exactly what your provider’s setup page gives you; these are for reference.
| Provider | MX host |
|---|---|
| Google Workspace | smtp.google.com (priority 1) for new setups |
| Microsoft 365 | yourdomain-com.mail.protection.outlook.com |
| Zoho Mail | mx.zoho.com, mx2.zoho.com, mx3.zoho.com |
| Proton Mail | mail.protonmail.ch, mailsec.protonmail.ch |
| Fastmail | in1-smtp.messagingengine.com, in2-smtp.messagingengine.com |
Common problems
- Leftover records from an old provider. After switching, remove the old MX records. Otherwise some mail keeps going to the old service.
- MX pointing at an IP address. MX records must name a host. Create an A
record such as
mail.example.comand point the MX at that. - A domain that never receives mail. Publish a null MX (
0 .) and an SPF record ofv=spf1 -allso nobody can use it to send spam.
Frequently asked questions
What is an MX record?
A DNS record that says which servers receive email for a domain. Each has a priority number: senders try the lowest number first and fall back to higher ones. Without MX records, mail to the domain usually bounces.
What do the priority numbers mean?
Lower is preferred. Servers with the same number share the load at random; a higher number is a backup used only when the preferred servers don’t answer. The numbers themselves don’t matter, only their order.
How do I know who hosts a domain’s email?
The MX hostnames give it away: Google Workspace uses google.com hosts, Microsoft 365 uses mail.protection.outlook.com, and so on. This lookup names the provider when it recognises the hosts.
What is a null MX record?
A single MX record of “0 .”, which tells senders the domain never accepts email. It’s good practice for domains that don’t receive mail, because senders give up straight away instead of retrying for days.
Can an MX record point to a CNAME or an IP address?
No. The standard requires an MX record to name a host that has its own A or AAAA record. Pointing at an IP address breaks delivery from most senders; pointing at a CNAME works with many but not all.
Did this tool do what you needed?
Related tools
All toolsEmail Domain Health Check
SPF, DKIM, DMARC and MX checked together, with a score and a list of fixes.
SPF Record Checker
Validate an SPF record, follow every include and count DNS lookups against the limit of 10.
DNS Lookup
Look up A, AAAA, CNAME, MX, NS, TXT, SOA, CAA and SRV records for any domain.