DNS & Email

Understanding DMARC and Email Security

June 15, 202610 min read·Sentinel Security Team
DMARCSPFDKIMemail securityphishingspoofing

Email Security: The Trifecta

Email authentication relies on three DNS records working together:

  1. SPF — Which servers are allowed to send email for your domain
  2. DKIM — Cryptographic signature verifying email integrity
  3. DMARC — Policy telling receivers what to do with unauthenticated email

The Problem

Without proper email authentication, anyone can send emails that appear to come from your domain. This enables:

  • Phishing — Attackers impersonate your brand to steal customer credentials
  • CEO fraud — Emails appearing to come from executives requesting wire transfers
  • Reputation damage — Your domain gets blacklisted or flagged as spam

Setting Up SPF

SPF (Sender Policy Framework) uses a DNS TXT record to list authorized mail servers:

v=spf1 include:_spf.google.com include:spf.protection.outlook.com ~all

The ~all at the end means "soft fail" — emails from unauthorized servers are marked but not rejected. Once you're confident in your configuration, switch to -all (hard fail).

Setting Up DKIM

DKIM (DomainKeys Identified Mail) adds a cryptographic signature to every email:

  1. Generate a public/private key pair from your email provider
  2. Publish the public key as a DNS TXT record (e.g., google._domainkey.yourdomain.com)
  3. Your email server signs outgoing emails with the private key

Setting Up DMARC

DMARC ties SPF and DKIM together and tells receivers what to do when authentication fails:

v=DMARC1; p=reject; rua=mailto:dmarc@yourdomain.com; pct=100; fo=1

Policy levels:

PolicyMeaningRecommended For
p=noneMonitor only, no action takenInitial deployment
p=quarantineMark as spamTransition
p=rejectReject the email entirelyMature setup

Testing with Sentinel

Use Sentinel's free DMARC analyzer to check your domain's email authentication:

  • Is SPF configured?
  • Is DKIM signing active?
  • What's the DMARC policy? (reject is best)
  • Any configuration errors in the DNS records?

Summary

Email authentication is not optional. Start with SPF, add DKIM for integrity, and wrap it all with DMARC's p=reject policy. Sentinel's DNS scan checks all three in seconds.

Scan Your Domain

Get a free security scan of your website. No signup required.

Start Free Scan
Sentinel Scanner © 2026Home