Skip to content

PubWeb

Tools

SPF, DKIM and DMARC checker

SPF checker: test SPF, DKIM and DMARC records for any domain

Enter a domain to see its SPF record and lookup count, DMARC policy, DKIM key for a selector you give, and MX records, with fixes.

Checks go from our server to a public DNS resolver (Cloudflare 1.1.1.1). The tool reads DNS and never sends an email.

SPF, DKIM and DMARC checker

Checks go from our server to a public DNS resolver (Cloudflare 1.1.1.1). The tool reads DNS and never sends an email.

SPF, DKIM and DMARC in plain words

Three DNS records tell receiving mail servers whether a message that claims to come from your domain is genuine. SPF lists the servers allowed to send for the domain, DKIM publishes the public key that checks each message’s signature, and DMARC says what to do with mail that fails both, and where to send reports about it.

This tool reads those records, plus the MX records that say where the domain receives mail, from a public resolver. Each finding comes with what is wrong and how to fix it. It checks the records only: it sends no message, tests no sending server and does not measure inbox placement.

How to use it

  1. Type a domain, or paste a link; only the host is used.
  2. Add your DKIM selectors if you know them, up to three, separated by commas.
  3. Press Check; a short bot check runs first.
  4. Read the four panels: SPF, DMARC, DKIM and MX, each with its verdict.
  5. Fix the errors first, then the warnings, and check again.

SPF: one record and at most 10 DNS lookups

A domain may publish only one SPF record. Two records are a permanent error, and receivers then treat the domain as if it had none that works, so merge every sender into a single record.

Each include, a, mx, ptr, exists and redirect costs a DNS lookup, counted across nested includes, and RFC 7208 caps them at 10. The tool counts them the same way and shows the include tree, so you can see which provider adds the most. Ending with ~all asks receivers to accept but mark mail from servers you did not list; -all asks them to refuse it.

DMARC policy: none, quarantine or reject

DMARC tells receivers what to do with mail that fails DMARC, meaning neither SPF nor DKIM passes aligned with the From domain. With none, failing mail is delivered and only reported; quarantine sends it to spam; reject refuses it. Start with none and a report address, read the reports, then move up.

RFC 9989, published in 2026, replaced RFC 7489. It finds the policy that applies by walking up the DNS tree instead of using the public suffix list, and it removed the pct tag, so a record that still uses it is now applied in full.

DKIM selectors and key size

A DKIM key lives under a selector: a name your mail provider chose, published below the domain. DNS cannot list the selectors a domain uses, so type yours; it is the s= value in the DKIM-Signature header of an email you sent.

When you type none and the domain’s mail goes to Google Workspace or Microsoft 365, the tool tries the usual selectors of those two providers and marks the result as a guess. RFC 8301 asks for RSA keys of at least 2048 bits and forbids SHA-1, and the tool flags shorter keys, revoked keys and keys left in testing mode.

MX records and common fixes

MX records name the servers that receive mail for the domain. A domain with none receives mail at its own address, if it has one; a null MX says it receives no mail at all. To see every MX record with its TTL, use DNS lookup.

Most problems have short fixes: merge two SPF records into one, replace includes you no longer use, publish a DMARC record with a report address, and rotate short DKIM keys. After a DNS change, check again once the old answers expire.

Questions

What is an SPF record?

A TXT record on your domain that starts with v=spf1 and lists the servers allowed to send mail for it. Receivers compare the sending server with that list.

How many DNS lookups can an SPF record have?

Ten. Includes, a, mx, ptr, exists and redirect count, including those inside nested includes; ip4, ip6 and all do not. Past ten, receivers must return a permanent error.

Can a domain have two SPF records?

No. Two SPF records are a permanent error. Merge them into one record with every sender listed.

What do DMARC p=none, quarantine and reject mean?

They are what receivers do with mail that fails DMARC: none delivers it and only reports it, quarantine sends it to spam, and reject refuses it.

How do I find my DKIM selector?

Open the headers of an email you sent and find the DKIM-Signature line: the selector is the value after s=. The tool tries only the usual selectors of Google Workspace and Microsoft 365 on its own.

Does this test inbox placement or spam score?

No. It reads the DNS records that receivers check. It sends no message, so it cannot tell where a message would land or how a filter would score it.

Do you store the domain I enter?

We keep each answer for a minute so repeat lookups are fast; it is not tied to who asked and expires on its own, and what you type never goes to our logs.

All free tools

PubWeb

These tools are the free part of PubWeb.

PubWeb is an ecosystem of tools for web publishers, made by publishers: Google Ad Manager floor pricing, first-party analytics, AI push you approve, campaign ROI and profit per project, in one panel.