Security & Headers • RFC 7208 / 7489

Email DNS SPF, DKIM & DMARC Policy Parser

Validate raw TXT records for SPF lookup limits (RFC 7208 max 10 DNS lookups), DKIM key flags, and DMARC enforcement posture (`p=none` vs `quarantine`/`reject`).

Input & Options Local JS Execution
Paste v=spf1, v=DMARC1, and optional v=DKIM1 TXT strings together or individually.
Parsed Output & Diagnostics Ready
Status
...

SPF DNS Lookup Cost Reference

SPF MechanismCounts Toward 10-Lookup Cap?Best Practice
ip4: / ip6:No (0 lookups)Prefer explicit CIDRs whenever static IPs exist
include: / a / mx / exists / redirect=Yes (1+ each, recursive)Keep total <= 7 to leave safety margin for nested includes
ptrYes + Deprecated in RFC 7208Remove ptr; unreliable reverse DNS slows verification
~all vs -all vs ?all/+allNoUse -all or ~all paired with DMARC p=quarantine/reject

Parser Methodology & Privacy Guarantees

Parses SPF qualifiers and mechanisms against RFC 7208 lookup rules, inspects DMARC tags (`p`, `sp`, `pct`, `adkim`, `aspf`, `rua`, `ruf`) per RFC 7489, and validates DKIM version/key length.

  • Counts top-level DNS-querying SPF mechanisms (`include`, `a`, `mx`, `ptr`, `exists`, `redirect`) toward the strict 10-lookup RFC ceiling.
  • Audits `+all` (open relay spoof risk), `?all` (neutral), and deprecated `ptr` directives.
  • Evaluates DMARC alignment strictness (`adkim`/`aspf`), rollout percentage (`pct`), and reporting URIs (`rua`).

Scope & limitations: Top-level lookup count does not run live recursive DNS queries for nested `include:` chains inside third-party ESP records.

Frequently Asked Questions

Why does exceeding 10 SPF DNS lookups break email delivery?
RFC 7208 limits SPF evaluation to 10 DNS-querying mechanisms to prevent amplification DoS attacks. Exceeding 10 causes receivers to return PermError, failing SPF checks.
Does Google/Yahoo bulk sender compliance allow p=none?
Monitoring starts with p=none + rua= reporting, but true spoofing protection requires moving to p=quarantine or p=reject once legitimate senders pass DKIM/SPF.
What does adkim=s vs adkim=r mean?
Relaxed (r) allows subdomains to align with the organizational domain; strict (s) demands exact domain match between Header From and DKIM d= tag.

Related Developer Parsers

Every parser on DevParse runs 100% inside your browser with zero backend telemetry, zero file uploads, and zero cookie banners. Support development via Fourthwall or sponsor a clean developer slot.