showmyip.dev

Email check: SPF, DKIM and DMARC

Check a domain's email authentication records and find out what to fix so its mail isn't marked as spam or spoofed.

example.com: 0 problems, 0 to improve, 3 OK.

Mail servers (MX)

example.com
  • 0
  • 1 mail server, lowest priority number tried first.

SPF

example.com
  • v=spf1 -all
  • Ends with -all: mail from servers not listed is rejected.
  • Needs 0 of the 10 DNS lookups allowed.

DMARC

_dmarc.example.com
  • v=DMARC1;p=reject;sp=reject;adkim=s;aspf=s
  • Policy p=reject: mail that fails authentication is rejected.
  • No rua address, so you don't get reports about who sends mail as your domain. Add rua=mailto:…

DKIM

17 common selectors
  • google: v=DKIM1; p=
  • selector1: v=DKIM1; p=
  • selector2: v=DKIM1; p=
  • k1: v=DKIM1; p=
  • k2: v=DKIM1; p=
  • s1: v=DKIM1; p=
  • s2: v=DKIM1; p=
  • default: v=DKIM1; p=
  • dkim: v=DKIM1; p=
  • mail: v=DKIM1; p=
  • smtp: v=DKIM1; p=
  • resend: v=DKIM1; p=
  • mandrill: v=DKIM1; p=
  • zoho: v=DKIM1; p=
  • protonmail: v=DKIM1; p=
  • fm1: v=DKIM1; p=
  • mxvault: v=DKIM1; p=
  • Every selector returns the same empty key: a wildcard record that deliberately disables DKIM for this domain.

MTA-STS

_mta-sts.example.com
  • No MTA-STS. Optional: it makes sending servers insist on encrypted, verified connections to your mail servers.

TLS reporting

_smtp._tls.example.com
  • No TLS-RPT. Optional: it sends you reports when other servers can't deliver to you securely.

SPF, DKIM and DMARC

Email has no built-in way to prove who sent a message, so anyone can put your domain in the From address. Three DNS records fix that, and receiving servers like Gmail and Outlook check all of them:

  • SPF lists the servers allowed to send mail for your domain, in a TXT record starting with v=spf1.
  • DKIM signs each message; the public key to check the signature is published at selector._domainkey.example.com, where your mail provider picks the selector.
  • DMARC, at _dmarc.example.com, tells receivers what to do with mail that fails both (deliver, send to spam or reject) and where to send reports.

Since 2024, Gmail and Yahoo require SPF or DKIM from everyone who sends to them, and all three, with a DMARC policy, from bulk senders. Without them, mail is likely to land in spam.

Finding your DKIM selector

This check tries the selectors common providers use (Google Workspace, Microsoft 365, Mailchimp, SendGrid and others). If yours isn't found, open an email you sent, view its original source or headers, and look for DKIM-Signature:: the selector is the value after s=.

MTA-STS and TLS reporting

These optional records protect mail on its way to you: MTA-STS tells sending servers to deliver only over encrypted connections to your real mail servers, and TLS-RPT asks them to report when that fails.

To see all of a domain's DNS records, use the DNS lookup; to check that a new record has spread, the DNS propagation checker.