Cluster 19 · Offline Diagnostics · DNS · Paste-to-Lint Zone

Email Authentication DNS Zone Validator (Offline SPF, DMARC, DKIM & BIMI Linter)

Paste any Cloudflare or BIND DNS zone export offline to detect duplicate SPF records, >10-lookup PermErrors, p=none DMARC gaps, weak 1024-bit DKIM keys, and missing MTA-STS/TLS-RPT/BIMI.

RFC 7208 · 7489 · 8461 · 8460 · 8058 · Zero Upload

4. Offline Email Auth DNS Zone Validator

Zero-Upload Zone Linter
Email DNS Zone Health Score
20 / 100 (F)
FAIL
MAIL-002: Duplicate SPF records (2 found) -> RFC 7208 PermError ERROR
RFC 7208 forbids multiple v=spf1 TXT records on one hostname. Merge into one record.
MAIL-006: Non-enforcing DMARC policy (p=none) WARN
Upgrade from p=none to p=quarantine -> p=reject at pct=100.
MAIL-008: Legacy <=1024-bit DKIM key detected WARN
Rotate to a 2048-bit RSA or Ed25519 DKIM key.
MAIL-009: Missing MTA-STS & TLS-RPT TXT records WARN
Add _mta-sts and _smtp._tls records to harden inbound SMTP TLS.
MAIL-010: Missing BIMI & DNS CAA records WARN
Add default._bimi and DNS CAA for inbox brand trust and cert governance.
MailAuth Pro $39 · ReadyCheck $49 Live DoH + SMTP TLS

Verify Live SPF, DMARC, DKIM, MTA-STS & BIMI Deliverability

Run an automated live email deliverability audit on MailAuth Pro ($39) (mail.runglab.dev) or inspect full 100-point DNS, Email-TLS, Security Headers & AEO on ReadyCheck ($49) (audit.runglab.dev) — or ship the $49 ReadyCheck Domain Fix Pack. Prefer PayPal invoicing? Email [email protected].

Email Deliverability Specification & Baseline

Control / Standard Hardened Baseline Deliverability & Security Rationale
MAIL-001 / 002 (SPF) Single Record & <= 10 Lookups Catches duplicate v=spf1 TXT records and nested lookup counts > 10
MAIL-005 / 006 (DMARC) Enforcing p=quarantine|reject + rua= Flags missing _dmarc, p=none monitor-only exposure, and missing rua= URI
MAIL-007 / 008 (DKIM) Non-Empty 2048-Bit p= Key Estimates RSA bit width from Base64 key length (>=300 chars = 2048-bit)
MAIL-009 / 010 (TLS/BIMI) _mta-sts + _smtp._tls + _bimi + CAA Audits inbound SMTP TLS downgrades, reporting, brand logo, and cert CAA

Sample Hardened DNS Zone Baseline (Grade A+)

hardened-email-zone.txt
acme.example.com. 300 IN TXT "v=spf1 include:_spf.google.com include:spf.mtasv.net -all"
_dmarc.acme.example.com. 300 IN TXT "v=DMARC1; p=reject; pct=100; adkim=s; aspf=r; rua=mailto:[email protected]"
s1._domainkey.acme.example.com. 300 IN TXT "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAw3v9nQIDAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
_mta-sts.acme.example.com. 300 IN TXT "v=STSv1; id=20261202010000Z"
_smtp._tls.acme.example.com. 300 IN TXT "v=TLSRPTv1; rua=mailto:[email protected]"
default._bimi.acme.example.com. 300 IN TXT "v=BIMI1; l=https://acme.example.com/.well-known/bimi-logo.svg; a=https://acme.example.com/.well-known/bimi-vmc.pem"
acme.example.com. 300 IN CAA 0 issue "letsencrypt.org"

Live DoH / dig Zone Snapshot Export Command

export-email-dns.sh
for host in acme.example.com _dmarc.acme.example.com s1._domainkey.acme.example.com _mta-sts.acme.example.com _smtp._tls.acme.example.com default._bimi.acme.example.com; do
  echo "=== $host ==="
  dig +short TXT "$host"
done
dig +short CAA acme.example.com

Implementation Steps & Key Insights

  1. Open Mode 4 ('Offline DNS Zone Validator') above and paste your Cloudflare DNS export, BIND zone file, or dig TXT outputs.
  2. Inspect the 0–100 score and rule diagnostics (MAIL-001 through MAIL-010) to spot duplicate SPF, >10 lookup PermError, or weak DKIM keys.
  3. Load the 'Hardened Zone (Grade A+)' preset to compare every record against production best practices.
  4. Once published to DNS, run a live DoH + HTTP mta-sts.txt verification on MailAuth Pro and ReadyCheck.
  • Validating zone exports locally before pushing Terraform or Cloudflare DNS changes prevents weekend outages caused by duplicate SPF or truncated 2048-bit DKIM keys.
  • Zero DNS records or zone configs leave your browser when using this offline validator.

Common Deliverability & DNS Pitfalls

  • Exporting Cloudflare zones where long TXT strings lack surrounding quotes or split across lines without parentheses.
  • Forgetting to check _mta-sts and _smtp._tls when migrating nameservers.
Verify Live: Audit your live DNS, MTA-STS & BIMI records at MailAuth Pro ($39) or run a full 100-point scan on ReadyCheck ($49).

More Email Deliverability, MTA-STS & BIMI Tools

← Back to Email Deliverability Hub · MailAuth Pro ($39) → · ReadyCheck ($49) →

Frequently Asked Questions

Does pasting my DNS zone send any domain data to RungLab servers?

Never. Every SPF lookup count, DMARC parse, DKIM key-length check, and BIMI/MTA-STS check executes 100% locally in your browser.

How does the offline validator estimate 1024-bit vs 2048-bit DKIM keys?

It measures the Base64 p= public key payload length inside v=DKIM1 records: 2048-bit SPKI RSA keys exceed ~300 Base64 characters, whereas 1024-bit keys are ~216 chars.

Can I validate live HTTPS mta-sts.txt and BIMI SVGs automatically?

Yes — run a live DoH + HTTPS audit at https://mail.runglab.dev/?ref=tools-mailauth (MailAuth Pro $39) or https://audit.runglab.dev/?ref=tools-mailauth (ReadyCheck $49).