Samprix

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 gmail.com

PriorityMail serverAddressesProvider
5gmail-smtp-in.l.google.com192.178.211.262404:6800:4000:1025::1a Google
10alt1.gmail-smtp-in.l.google.com173.194.41.262404:6800:4001:c01::1a Google
20alt2.gmail-smtp-in.l.google.com172.253.158.272404:6800:4003:c26::1a Google
30alt3.gmail-smtp-in.l.google.com108.177.125.262404:6800:4008:c01::1a Google
40alt4.gmail-smtp-in.l.google.com192.178.230.272404:6800:400b:c01b::1b Google
  • OK:5 mail servers

    Email is handled by Google.

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.

ProviderMX host
Google Workspacesmtp.google.com (priority 1) for new setups
Microsoft 365yourdomain-com.mail.protection.outlook.com
Zoho Mailmx.zoho.com, mx2.zoho.com, mx3.zoho.com
Proton Mailmail.protonmail.ch, mailsec.protonmail.ch
Fastmailin1-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.com and point the MX at that.
  • A domain that never receives mail. Publish a null MX (0 .) and an SPF record of v=spf1 -all so nobody can use it to send spam.

Did this tool do what you needed?

All tools