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.

github.com: 0 problems, 2 to improve, 2 OK.

Mail servers (MX)

github.com
  • 0 github-com.mail.protection.outlook.com
  • 1 mail server, lowest priority number tried first.

SPF

github.com
  • v=spf1 ip4:192.30.252.0/22 include:spf.protection.outlook.com include:_netblocks.google.com include:_netblocks2.google.com include:mail.zendesk.com include:_spf.salesforce.com include:servers.mcsv.net include:mktomail.com include:sendgrid.net ip4:62.253.227.114 ip4:166.78.69.169 ip4:166.78.69.170 ip4:166.78.71.131 ~all
  • Ends with ~all (soft fail): mail from servers not listed is marked as suspicious. With a DMARC policy, that's the usual setup.
  • Needs 10 of the 10 DNS lookups allowed; adding another provider could break it.

DMARC

_dmarc.github.com
  • Policy p=quarantine: mail that fails authentication goes to spam. p=reject is the strongest setting.
  • Aggregate reports go to [email protected].

DKIM

17 common selectors
  • google: v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEF…
  • selector1: v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUA…;
  • k1: k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUA…;
  • k2: v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEF…;
  • s1: k=rsa; t=s; p=MIIBIjANBgkqhkiG9w0BAQEF…
  • s2: k=rsa; t=s; p=MIIBIjANBgkqhkiG9w0BAQEF…
  • google: 2048-bit RSA key.
  • selector1: 1024-bit RSA key. Keys under 2048 bits are considered weak; ask your provider for a 2048-bit key.
  • k1: 1024-bit RSA key. Keys under 2048 bits are considered weak; ask your provider for a 2048-bit key.
  • k2: 2048-bit RSA key.
  • s1: 2048-bit RSA key.
  • s2: 2048-bit RSA key.

MTA-STS

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

TLS reporting

_smtp._tls.github.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.