Skip to main content
Disclosure: Unircretraites is reader-supported. If you sign up through our links, we may earn a commission at no extra cost to you. It never changes our recommendations, and we say when a tool is not right for you. How we make money
HomeResourcesSPF, DKIM & DMARC DNS Planning Guide
Architecture Blueprint

SPF, DKIM & DMARC DNS Planning Guide

DNS syntax rules, selector management, and safe p=reject policy staging without breaking email routing.

U
By Tune (AS_Tune)Publisher
Free to read, no sign-up needed
Sources linked where we cite numbers
We say when a tool is not right for you
Reader-supported: affiliate links disclosed
### Conceptual Architecture Blueprint #### 1. SPF (Sender Policy Framework - RFC 7208) - **Syntax:** `v=spf1 include:_spf.google.com include:mailgun.org ~all` - **Crucial Rule:** Exactly ONE SPF record per domain. Never publish two separate TXT records starting with `v=spf1`. - **The 10-Lookup Limit:** RFC 7208 limits recursive DNS lookups to 10. Exceeding 10 causes permanent SPF PermError. #### 2. DKIM (DomainKeys Identified Mail - RFC 6376) - **How It Works:** Cryptographic keypair. Private key signs outbound email headers; public key is published in DNS. - **DNS Record:** TXT record published at `selector._domainkey.yourdomain.com`. - **Standard:** Use 2048-bit RSA keys. Rotate selectors annually for enterprise security. #### 3. DMARC (Domain-based Message Authentication - RFC 7489) - **Staged Rollout Plan:** - **Phase 1 (Monitoring):** `v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com; pct=100` (Run for 30–60 days). - **Phase 2 (Quarantine):** `v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@yourdomain.com; pct=100` (Run for 30 days). - **Phase 3 (Full Rejection):** `v=DMARC1; p=reject; rua=mailto:dmarc-reports@yourdomain.com; pct=100` (Full protection against spoofing).

Deploy This Framework in Your Email System

Automate multi-channel workflows, domain authentication, and CRM lead nurture with zero setup delay.