PatchPingsAI-Powered
FeaturesMonitoringHow it worksFAQ
Download free

We use cookies

We use essential cookies to run this site and optional analytics cookies to understand how visitors use it. You can accept or decline non-essential cookies. Cookie Policy

PatchPings

Secure. Monitor. Fix.

AI-powered website monitoring & audits

Product

  • Features
  • Monitoring
  • Scan types
  • How it works
  • FAQ
  • Pricing
  • Download

Company

  • About
  • Knowledge Base
  • Privacy Policy
  • Cookie Policy
  • Terms of Service
  • Acceptable Use Policy
  • Account Deletion
  • Contact

Download

GET IT ONGoogle Play
PrivacyCookiesTermsAcceptable useDelete accountContact

© 2026 PatchPings by CodenVibe IT LLC. All rights reserved.

PatchPings

Secure. Monitor. Fix.

AI-powered website monitoring & audits

Download

GET IT ONGoogle Play

Product

  • Features
  • Monitoring
  • Scan types
  • How it works
  • FAQ
  • Pricing
  • Download

Company

  • About
  • Knowledge Base
  • Privacy Policy
  • Cookie Policy
  • Terms of Service
  • Acceptable Use Policy
  • Account Deletion
  • Contact

© 2026 PatchPings by CodenVibe IT LLC. All rights reserved.

PrivacyCookiesTermsAcceptable useDelete accountContact
PatchPings

Secure. Monitor. Fix.

AI-powered website monitoring & audits

Product

  • Features
  • Monitoring
  • Scan types
  • How it works
  • FAQ
  • Pricing
  • Download

Resources

  • Knowledge Base

Company

  • About
  • Privacy Policy
  • Cookie Policy
  • Terms of Service
  • Acceptable Use Policy
  • Account Deletion
  • Contact

Download

  • GET IT ONGoogle Play

© 2026 PatchPings by CodenVibe IT LLC. All rights reserved.

PrivacyCookiesTermsAcceptable useDelete accountContact
Knowledge Base
Scans 9 min readJan 5, 2026

SPF, DKIM and DMARC: The Complete Email Authentication Guide

Three DNS records decide whether your email is trusted or quietly sent to spam — and whether scammers can impersonate your domain.

The PatchPings Team
SPF, DKIM and DMARC: The Complete Email Authentication Guide

If your invoices land in spam, your password resets never arrive, or scammers send phishing emails that appear to come from your domain, the cause is almost always the same: missing or misconfigured email authentication. Three DNS records — SPF, DKIM and DMARC — decide whether the world's inboxes trust mail from your domain. Here is how each works and how to set them up correctly.

SPF: who is allowed to send

Sender Policy Framework (SPF) is a DNS record that lists the servers permitted to send email on behalf of your domain. When a receiving server gets a message claiming to be from you, it checks whether the sending server appears on your list. If not, the mail is suspicious.

Example SPF record (TXT)code
v=spf1 include:_spf.google.com include:sendgrid.net -all

The -all at the end means 'reject anything not listed' — the strict, correct setting once you are confident every legitimate sender is included. A common mistake is using ~all (soft fail) forever, or exceeding the limit of ten DNS lookups, which silently breaks the record.

DKIM: proof the message was not tampered with

DomainKeys Identified Mail (DKIM) adds a cryptographic signature to every outgoing message. Your mail provider signs the email with a private key, and the matching public key lives in your DNS. The receiving server verifies the signature, proving two things: the mail genuinely came from your domain, and nobody altered it in transit.

SPF and DKIM are complementary

SPF checks where the mail came from; DKIM checks that the content is authentic and unmodified. You want both — DMARC then ties them together.

DMARC: the policy that makes it all enforceable

Domain-based Message Authentication, Reporting and Conformance (DMARC) is the record that tells receiving servers what to do when SPF or DKIM fails, and asks them to send you reports. It is what actually stops impersonation.

Example DMARC record (TXT at _dmarc)code
v=DMARC1; p=quarantine; rua=mailto:[email protected]; pct=100
  • `p=none` — monitor only. Start here to collect reports without affecting delivery.
  • `p=quarantine` — send failing mail to spam. Move here once your reports look clean.
  • `p=reject` — refuse failing mail outright. The end goal, and the only setting that fully blocks impersonation.

The rollout that does not break your email

  1. 1Publish SPF listing every legitimate sender, ending in -all.
  2. 2Enable DKIM in your mail provider and add the public key to DNS.
  3. 3Publish DMARC at `p=none` and read the reports for a few weeks.
  4. 4Once reports are clean, move DMARC to `p=quarantine`, then finally `p=reject`.
Check all three at once

A DNS health scan reports whether SPF, DKIM and DMARC exist and whether their values are valid — so you find the gap before your customers find your email in their spam folder.

Email authentication is one of those tasks that feels obscure until the day it costs you a signed contract or a reset password that never arrived. Set the three records in order, watch the DMARC reports, and tighten the policy as your confidence grows. Done right, your mail gets delivered and nobody can pretend to be you.

#DNS#Email#SPF#DKIM#DMARC

Keep reading

How to Read Your Website Security Scan Report
Scans

How to Read Your Website Security Scan Report

7 min read
HTTP to HTTPS Redirects: Fixing Mixed Content and Redirect Chains
Scans

HTTP to HTTPS Redirects: Fixing Mixed Content and Redirect Chains

7 min read
PatchPings

Start scanning. It’s free.

Download PatchPings and run your first full security scan in under a minute. No credit card, no catch.

GET IT ONGoogle Play

Free for all signed-in users · Guest mode available · v1.0.0