spfdkimdmarcemail spoofing

SPF, DKIM and DMARC: is your domain protected?

What SPF, DKIM and DMARC are, what the email security checker tests, and what each verdict means: protected, partial or unprotected.

August 22, 2026·5 min read

Someone receives an email that looks like it's from your domain ("billing@yourcompany.com") asking for an urgent payment, but you never sent it. This is email spoofing: forging the sender to impersonate another domain. It still works in 2026 because many domains don't publish the three DNS records that make it harder: SPF, DKIM and DMARC. You can check in seconds whether your domain has them with the email security tool.

Why email is so easy to fake by default

The email protocol (SMTP) doesn't verify, by original design, that a message's sender is who they claim to be. Any server can technically send an email claiming to come from any address. SPF, DKIM and DMARC were added later to close that gap, and they only work if a domain configures them explicitly.

SPF: who's allowed to send on your behalf

SPF (Sender Policy Framework, RFC 7208) is a TXT-type DNS record that starts with v=spf1 and lists the servers authorized to send email for your domain. It ends with an all mechanism: -all (fail) or ~all (softfail) tells receivers what to do with everything else. When a receiving server gets an email, it checks whether the sending server is on that list. If it isn't, the email might be fake.

DKIM: cryptographic signature of the content

DKIM (DomainKeys Identified Mail, RFC 6376) adds a cryptographic signature to the email, made with a private key only the legitimate domain controls. The receiving server verifies it with the public key published in DNS, in a selector._domainkey.yourdomain.com record. If the signed fields or the body changed along the way, or the message wasn't signed by whoever claims to be the sender, verification fails.

DMARC: the policy that says what to do if something fails

DMARC (RFC 7489) ties SPF and DKIM together. It tells the receiving server what to do when a message fails the checks: p=none takes no action and only monitors, p=quarantine treats it as suspicious (usually spam) and p=reject refuses it. It can also send you reports of spoofing attempts at the address set in rua=.

How to check a domain's protection

  1. Enter the domain only, without https:// or paths, for example yourcompany.com.
  2. Wait for the lookup. The DNS queries run on the website's server: it reads the SPF TXT record, the DMARC record and the DKIM key for a fixed list of common selectors (google, selector1, selector2, mail, dkim, default, k1, s1, s2, smtp, m1 and zoho), plus the selector you enter.
  3. Read the verdict: "Protected against spoofing", "Partial protection" or "Unprotected".

What each verdict means

  • Protected: a single SPF record with -all or ~all, a DMARC policy of p=quarantine or p=reject, and at least one DKIM key found among the selectors on the list.
  • Partial: at least one of the three exists, but not all of those conditions are met. For example, SPF without DMARC, or DMARC with p=none, which only monitors and takes no action.
  • Unprotected: the tool finds none of the three.

The verdict depends on the DKIM selectors the tool checks. If your provider signs with a selector that isn't on that list, DKIM shows as not found and the verdict can't reach Protected, even if DKIM is set up. In that case, type the selector in the DKIM selector field of the tool or check it in your mail provider's settings. DKIM cannot be listed through DNS: “not found” does not mean the key does not exist.

Why this matters even if you don't send much email

A domain without these records is easier to impersonate: anyone can send mail in your name, and most receiving servers have no clear signal to reject it. Setting them up doesn't protect your own inbox directly. It protects third parties, who would otherwise receive fake emails that look like they came from you, and it protects your domain's reputation.

FAQ

Do I need all three to be protected? Yes: the tool only gives "Protected" when all three are in place. SPF and DKIM without a DMARC policy that acts on failures leave the final decision to each receiving server, which may or may not reject the suspicious email.

Does this protect the email I receive? Indirectly. It keeps your domain from being used to impersonate others, and if every domain did it, spoofing overall would drop.

Is it complicated to set up? The records are simple TXT entries. The hard part is identifying every service that sends mail for you (marketing, CRM, billing) so you include them in SPF without leaving one out.

What if my domain never sends email? It's still a good idea to publish an SPF record that authorizes no one (v=spf1 -all) and a restrictive DMARC policy (p=reject), because nobody should be able to send valid email in your name.


Check for free whether your domain is protected against spoofing with the email security tool, with SPF, DKIM and DMARC verdicts at a glance.

Try it without code

Email Security SPF·DKIM·DMARC

Verify SPF, DKIM and DMARC against spoofing.

Open Email Security SPF·DKIM·DMARC

Built by

Miguel Ángel Colorado Marin (MACM)

Full-Stack Developer · Guadalajara, España

I develop web apps, digital tools and full projects — from design to deployment.

Contact me