Build and audit your domain’s email and TLS DNS records locally with zero server logging. Calculates the hard 10-DNS-lookup limit defined in RFC 7208 (SPF), generates aligned RFC 7489 DMARC policies, and outputs ready-to-paste BIND / Cloudflare / Route 53 TXT & CAA lines.
The Hidden RFC 7208 10-Lookup Trap Behind Silent Email Drops
Every time marketing or operations drops another SaaS include: into your apex SPF record, nested DNS queries stack silently behind the scenes. Per RFC 7208 Section 4.6.4, crossing 10 DNS lookups triggers a deterministic PermError across major mail receivers. Pair this validator with our IPv4 CIDR & VLSM subnet calculator or read our breakdown of Gmail agent security and email architectures.
| Mechanism / Tag | DNS Lookup Cost | Receiver Behavior | Production Best Practice |
|---|---|---|---|
ip4: / ip6: | 0 lookups | Direct CIDR match without extra queries | Prefer static IPs over mx or a |
include: / mx / a | 1 + nested hops | Every recursive hop counts toward the 10-query cap | Isolate marketing tools on subdomains |
DMARC p=reject | 0 (single _dmarc query) | Blocks unaligned domain spoofing outright | Roll out via pct after monitoring rua |
CAA issue | 0 | Prevents unauthorized CAs issuing TLS certs | Pin exact ACME / enterprise CA strings |
Frequently Asked Questions on SPF, DMARC & CAA Records
Why does my SPF fail when I only list four include mechanisms?
The RFC 7208 cap of 10 DNS queries is recursive: large providers like Google Workspace, Microsoft 365, and Salesforce each expand to 3–4 nested DNS lookups internally, easily pushing combined apex records past 10.
Should I use ~all or -all alongside DMARC?
Both major mailbox providers accept ~all when paired with an active DMARC p=quarantine or p=reject policy, avoiding false drops on legitimate mail forwarding where DKIM passes.
What happens when an SPF TXT record exceeds 255 bytes?
DNS TXT syntax requires strings longer than 255 bytes to be split into adjacent quoted chunks within the same TXT record. This validator highlights when multi-string splitting applies.
Why add a CAA record alongside email authentication?
CAA records restrict which Certificate Authorities may issue TLS certificates for your domain, shutting down unauthorized issuance vectors.