Email DNS Specifications & RFC Limits
Inbox providers including Gmail, Outlook, and Yahoo enforce strict authentication thresholds before accepting custom-domain mail. Use this reference table to benchmark your domain's DNS posture.
| Record | DNS Location | Hard Limit / Spec | Recommended Target |
|---|---|---|---|
| MX | @ (root) | Must point to hostname (never IP or CNAME) | Lowest priority number handles primary delivery |
| SPF | @ TXT | Max 10 DNS lookups (RFC 7208); max 1 record | ≤ 8 lookups with -all or ~all |
| DKIM | [sel]._domainkey | RSA 1024-bit min (2048-bit recommended) | Active public key (p=) or ESP CNAME |
| DMARC | _dmarc TXT | Single v=DMARC1 record required | p=quarantine or p=reject + rua= |
How This DNS Deliverability Grader Works
Every check executes live authoritative DNS queries from Node.js without cached third-party snapshots. When you enter a domain, the grader strips protocols or email prefixes, validates hostname syntax, and concurrently resolves MX, root TXT, _dmarc, and 9 common DKIM selector endpoints (plus any custom selector you provide).
For SPF, our parser recursively walks every include: and redirect= branch up to depth 10 with cycle protection, counting a, mx, ptr, exists, include, and redirect mechanisms exactly as receiving MTAs evaluate RFC 7208. Scores are weighted transparently across MX routing (20 points), SPF validity and lookup budget (30 points), DMARC enforcement and reporting (30 points), and active DKIM signing (20 points).
Frequently Asked Questions
Why does exceeding 10 SPF DNS lookups cause a PermError?
RFC 7208 caps SPF evaluation at 10 DNS-querying mechanisms—including nested lookups inside vendor include: chains—to prevent amplification attacks. On the 11th lookup, mail servers abort SPF evaluation and return PermError, which causes Gmail and Outlook to treat your mail as unauthenticated.
Can I publish two separate v=spf1 TXT records for different tools?
No. Publishing more than one v=spf1 TXT record on the same domain violates RFC 7208 and triggers an instant PermError. Always merge every authorized sender into a single v=spf1 string, or move marketing tools onto a dedicated sending subdomain such as mail.yourdomain.com.
Why did the DKIM probe miss my selector?
DNS does not provide a wildcard way to list every _domainkey subdomain. This tool automatically checks common provider selectors (google, selector1, selector2, default, zmail, k1, s1, titan1, key1). If your provider generates randomized selectors (such as Amazon SES or Postmark), enter your exact selector name in the optional DKIM Selector field.
Should my DMARC policy be p=none, p=quarantine, or p=reject?
Start with p=none and a valid rua= reporting address for 7–14 days to confirm every legitimate sender passes SPF or DKIM alignment. Once reports are clean, move to p=quarantine and finally p=reject so spoofed messages are blocked outright and bulk-sender requirements are satisfied.
How fast do DNS changes appear in this checker?
Cloudflare, Route 53, and Vercel DNS usually propagate TXT and MX edits within 30 to 120 seconds, though registrars with higher TTLs can take up to an hour. Because this endpoint never caches lookups, re-running the check immediately reflects live resolver responses.