Email DNS Deliverability Auditor API
Audit MX, SPF 10-lookup limits, DMARC, DKIM, BIMI, and MTA-STS with a 0–100 score.
Audit MX, SPF, DMARC, DKIM & MTA-STS with a 0–100 score—or generate lookup-safe DNS TXT records. Free browser tool to audit any domain's MX, SPF, DMARC, DKIM, and MTA-STS records or generate RFC 7208 lookup-safe SPF and DMARC TXT records.
POST /v1/email-dns)
Ready
Switch between Audit Domain DNS (powered by POST /v1/email-dns)
and Generate DNS Records (powered by POST /v1/email-dns-generator).
Edit the JSON payload or click a preset below and press Run Live Tool.
{
"ok": true,
"data": {
"domain": "cloudflare.com",
"score": 95,
"grade": "A",
"checks": {
"mx": {
"status": "pass",
"score": 20,
"max_score": 20,
"records": [
"10 isaac.mx.cloudflare.net",
"20 linda.mx.cloudflare.net"
],
"issues": [],
"fix": null
},
"spf": {
"status": "pass",
"score": 25,
"max_score": 25,
"records": [
"v=spf1 ip4:199.15.212.0/22 include:_spf.google.com -all"
],
"issues": [],
"fix": null
},
"dmarc": {
"status": "pass",
"score": 25,
"max_score": 25,
"records": [
"v=DMARC1; p=reject; sp=reject; pct=100; rua=mailto:dmarc@cloudflare.com"
],
"issues": [],
"fix": null
},
"dkim": {
"status": "pass",
"score": 20,
"max_score": 20,
"records": [
"v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A..."
],
"issues": [],
"fix": null,
"found_selectors": [
"cf2024-1"
],
"checked_selectors": [
"cf2024-1"
]
},
"mta_sts": {
"status": "warn",
"score": 5,
"max_score": 10,
"records": [
"v=STSv1; id=20260101T000000Z"
],
"issues": [],
"fix": null
}
},
"fixes": []
},
"meta": {
"request_id": "req_edns_01",
"ms": 42
}
}
This tool runs on the exact same stateless Worker engine as our production APIs. Unlock up to 256 KB payloads with a Polar All-Access key (/pricing):
Audit MX, SPF 10-lookup limits, DMARC, DKIM, BIMI, and MTA-STS with a 0–100 score.
Lint existing SPF/DMARC strings and generate clean, RFC-compliant DNS TXT records.