Skip to content

DMARC and SPF Checker

Enter a domain to check its SPF and DMARC records, and one DKIM key if you know the selector. Each record gets a plain verdict (Good, Needs work or Missing), the problems are ranked with a fix for each, and you get a corrected record to copy into your DNS.

The lookups run in your browser against a public DNS resolver. The checks follow RFC 7208 (SPF), RFC 7489 (DMARC) and RFC 6376 (DKIM).

No download, no card

The selector is the s= value in the DKIM-Signature header of a message the domain sent. DKIM keys cannot be listed without it.

Lookups run in your browser against Cloudflare's public DNS-over-HTTPS resolver (1.1.1.1). The domain you check is not sent to PlayCISO, and the tool only reads public DNS records. It changes nothing.

How to read the result

RecordWhere it livesWhat it doesWhat Good looks like
SPFTXT at the domainLists the servers allowed to send mail using the domain in the envelope sender.One record, 10 DNS lookups or fewer, ends in ~all or -all
DKIMTXT at selector._domainkeyPublishes the public key receivers use to verify a message's signature.Key present, RSA of 2048 bits or an Ed25519 key
DMARCTXT at _dmarcTells receivers what to do when neither SPF nor DKIM passes for the From domain, and where to send reports.p=quarantine or p=reject with a rua address

The three verdicts

  • Good: the record is valid and nothing rated High or Medium was found. Low items and notes can still be listed.
  • Needs work: the record exists but has at least one High or Medium problem, such as +all, more than 10 lookups, p=none or a syntax error.
  • Missing: no record of that type was found at the name.

What the checker tests

  • SPF: missing or more than one record, the ending (+all, ?all, ~all, -all or none), the count of lookup-causing terms against the limit of 10 with includes followed, the discouraged ptr mechanism, unknown or empty terms, terms placed after all, includes with no record behind them, and strings over 255 characters.
  • DMARC: missing or more than one record, the policy p, the subdomain policy sp, pct, the report addresses rua and ruf, alignment (adkim, aspf), and the syntax of every tag.
  • DKIM: whether the selector you typed has a key, whether the key is revoked, and an estimate of the RSA key size.

How to use the suggested records

  1. Fix High items first. A broken SPF record or a missing DMARC record affects every message.
  2. For DMARC, pick the policy you want and copy the record. It keeps your valid tags and reporting addresses, puts the tags in the expected order and adds a reporting address if you had none.
  3. For SPF, the suggested record removes terms that are never used and fixes the ending. It cannot decide which senders you still need: remove those yourself if the lookup count is over 10.
  4. Publish the change with your DNS provider, wait for the old record's cache time to pass, then run the check again.

Limits: the tool reads DNS only. It cannot tell whether a given message passes, whether the servers listed in SPF are the ones you really use, or which DKIM selectors exist. To practise fixing a broken setup end to end, use the Email Authentication Lab. To read the results on a message you received, paste its headers into the Email Header Analyzer. For any other record type, use the DNS Lookup.

Frequently asked questions

What does a DMARC checker look at?

It reads the TXT record published at _dmarc.yourdomain and checks that it starts with v=DMARC1, has a valid policy (p=none, quarantine or reject), and that the optional tags are written correctly: sp for subdomains, pct for the share of mail the policy applies to, rua and ruf for report addresses, and adkim and aspf for alignment. This checker also reads the SPF record at the domain itself and, if you give a selector, one DKIM key.

What is the SPF 10 lookup limit?

RFC 7208 allows at most 10 mechanisms and modifiers that cause DNS lookups while an SPF record is evaluated. The ones that count are include, a, mx, ptr, exists and redirect, including those inside the records your includes point to. ip4, ip6 and all do not count. Over the limit, receivers return a permanent error and SPF fails. This tool follows your includes and shows the total.

Should my SPF record end in ~all or -all?

Both tell receivers that servers you did not list are not allowed. -all is a hard fail and ~all is a soft fail. With a DMARC policy in place, DMARC decides what happens to the message, so ~all is a common and reasonable choice. Avoid +all, which allows every server on the internet, and ?all, which is neutral and gives no protection.

Which DMARC policy should I use: none, quarantine or reject?

Start with p=none and a rua address so you receive aggregate reports without affecting delivery. Read the reports until every service that sends as your domain passes SPF or DKIM with a matching domain. Then move to p=quarantine, and to p=reject when the reports stay clean. p=none on its own does not stop anyone spoofing the domain.

Why do I need a DKIM selector to check DKIM?

DKIM keys are published at selector._domainkey.yourdomain, and the selector name is chosen by whoever set up signing. DNS gives no way to list them. You can find the selector in the s= value of the DKIM-Signature header of a message the domain sent, or in your mail provider’s setup page. A domain can have several selectors, one per sending service.

Does this tool send my domain to PlayCISO?

No. The lookups go from your browser to Cloudflare’s public DNS-over-HTTPS resolver (1.1.1.1). There is no PlayCISO server in the path, and the tool only reads public DNS records. Results can lag a recent change until the old record’s cache time (TTL) runs out.

Sources

Last reviewed 30 November 2026. General information, not a security audit.

More tools like this

Related tools and labs, with new picks every day.

All tools