Email and domain security check
Find out if your mail can land in spam or be spoofed. Get a free grade for SPF, DKIM, DMARC, mail servers, DNSSEC and 8 more. For one cent, every finding comes with the exact copy-paste fix.
We never change anyone's settings. You get copy-paste fixes (record name and value, the corrected SPF line, Microsoft 365 DKIM records or PowerShell) for your IT person to apply.
DKIM keys found (selector1, selector2), but one is RSA under 2048 bits: selector1 (1024-bit). Receivers still accept them, but they are weak by…
One valid SPF record that inherits -all from redirect=3l-groupconsulting.co.za.spf.sophosdmarc.net, 2 of 10 DNS lookups.
DMARC enforces p=reject on 100% of mail, with reports to reports.sophosdmarc.net.
When you need it
Find the broken SPF, DKIM or DMARC record, and the exact line that fixes it.
Gmail and Yahoo bulk-sender rules need SPF, DKIM and DMARC. Check before you send.
See if your domain can be spoofed in phishing, and how to lock it down safely.
New supplier? Check domain age, registrar, Microsoft 365 tenant and mail hygiene.
Why DomainRef
| DomainRef | Typical free lookup tool | |
|---|---|---|
| Output | Pass / warn / fail with the exact record to publish | Raw records, you interpret them |
| Coverage | 13 checks in one call | One record type per lookup |
| Microsoft 365 aware | ✓ tenant + selector1/2 DKIM steps | Varies |
| For AI agents | ✓ JSON API, x402, MCP server | Usually a web form only |
| Signup or upsell | None. Free grade, $0.01 for the fixes | Often an account or a trial |
What it checks
10-lookup limit, ~all vs -all. Guide
46 selectors, key size, Microsoft 365 rotation. Guide
p=, sp=, pct, reports. Guide
Present, resolvable, null MX.
Detected from public sign-in discovery.
Issuer, expiry, hostname, chain.
Policy, mode, MX coverage. Guide
A valid _smtp._tls rua.
Broken DS, weak algorithms. Guide
And whether your CA is allowed.
Record and VMC/CMC chain. Guide
MX and SPF IPs on UCEPROTECT Level 1. Guide
Registrar, created, expiry. New is a fraud signal.
| Check | What is graded |
|---|---|
| SPF | One record, at most 10 DNS lookups and 2 void lookups, no ptr. ~all passes when DMARC enforces. |
| DKIM | 46 common selectors probed in parallel, including Microsoft 365 selector1/selector2, Google, Zoho, Proton, Fastmail, Mandrill, Mailjet, SendGrid, Amazon SES and Mimecast. Flags every key under 2048 bits by selector, with the provider's rotation step. |
| DMARC | Policy, sp=, pct, reports (rua) and external report authorisation. A hostname falls back to its organisational domain (Public Suffix List). |
| MX | Present and resolvable. Only an explicit null MX (0 .) counts as no mail. |
| MTA-STS | The _mta-sts TXT record and the HTTPS policy on mta-sts.<domain>: mode, mx coverage, max_age. A policy senders cannot apply (unreadable, invalid, duplicate TXT or mode: none) is info like no MTA-STS; mx lines that miss an MX fail in enforce mode. |
| TLS-RPT | A _smtp._tls record with a valid rua. |
| DNSSEC | Validated by both Cloudflare and Google (they must agree): broken signatures (SERVFAIL that answers with checking off) fail, with the resolver's own error text. Also flags a signed zone with no DS at the registrar, RSA/SHA-1 algorithms 5 and 7 and SHA-1 DS digests (RFC 8624). |
| CAA | Which CAs may issue, and whether the current certificate's CA is allowed. |
| Website certificate | The HTTPS certificate on port 443: issuer, days to expiry, hostname match, chain. A small part of the score. |
| Registration | Registrar (name and IANA ID only), age, expiry and hold flags from the registry's RDAP. A domain under six months old is reported as info here, since only time changes it; the age endpoint grades it. If the registry does not answer, the summary says it was not checked. |
| Microsoft 365 | Tenant detection from Microsoft's public sign-in discovery endpoints. Info only. |
| BIMI | default._bimi record and its mark certificate: VMC or CMC, issuer, expiry, domain match, and whether the chain leads to a DigiCert, GlobalSign or SSL.com Mark Verifying Authority root (otherwise it is reported as a claim). Also whether DMARC enforces. Info only, never scored. |
| Blocklist | MX and SPF sending IPs (IPv4, up to 10) on UCEPROTECT Level 1, looked up only while the list's own test entry answers correctly. Level 1 lists single IPs seen hitting UCEPROTECT spamtraps or other abuse, automatically or manually; entries expire 7 days after the last incident. Info or warn, never scored. Copyright © 2001-2021 UCEPROTECT-Network http://www.uceprotect.net, used under the UCEPROTECT licence. |
Run it your way
Same report everywhere. Pick what fits.
Buy credit once at afriref.dev, then one command per domain. A failed call is refunded to the key.
# your key, your domain
curl -H "X-API-Key: $KEY" \
"https://domainref.dev/v1/domain/check?domain=yours.com"
Buy credit →Call it, read the 402, pay $0.01 USDC on Base, retry. x402 settles only on success.
$ curl -si "https://domainref.dev/v1/domain/check?domain=example.com" HTTP/2 402 payment-required: eyJ4NDAyVmVyc2lvbiI6Mi… # any x402 client pays and retriesx402 discovery →
Two tools: domain_check and domain_age. Pass api_key; per-call x402 and MPP payment is HTTP only.
{ "mcpServers": { "domainref": {
"url": "https://domainref.dev/mcp"
} } }
llms.txt · openapi.json{
"domain": "example.com",
"score": 100,
"letter": "A",
"summary": "example.com scores 100/100 (A): 6 pass, 0 warn, 0 fail, 7 info. Nothing to fix.",
"checks": [
{ "check": "dmarc", "label": "DMARC", "grade": "pass",
"finding": "DMARC enforces p=reject on 100% of mail.", "fix": null },
{ "check": "mta_sts", "label": "MTA-STS", "grade": "info",
"finding": "Not applicable: the domain publishes a null MX, so it takes no mail.", "fix": null },
{ "check": "registration", "label": "Registration (registrar and age)", "grade": "pass",
"finding": "Registered 1995-08-14 via RESERVED-Internet Assigned Numbers Authority (IANA 376), 11390 days old, expires 2027-08-13.", "fix": null }
]
}Only need the age and registrar? GET /v1/domain/age?domain= is $0.005. Not for registries without RDAP, e.g. .za/.co.za, .me, .de, .io, .eu: that lookup is refused free (422).
Pricing
Never charged: bad input, domains that don't exist, private-only domains, broken DNSSEC (you get the diagnosis free), rate limits, DNS or registry outages, and every HEAD request. On every payment rail.
Safe and private
Questions
The grade is free: letter, score and pass/warn/fail for every check. The $0.01 full report adds what each check found and the exact fix, Microsoft 365 tenant details and the JSON API.
Free tools mostly show raw records. DomainRef grades all 13 together and writes the exact fix, Microsoft 365 steps included. There's no account, trial or sales call.
No. DomainRef only reads public records and never logs in to or changes anything. The full report gives the exact copy-paste fix: the DNS record name and value, the corrected SPF line, the Microsoft 365 DKIM CNAMEs or PowerShell commands. You or your IT person apply it at your DNS host.
No. Buy card credit for an API key at afriref.dev. Wallets and agents can pay per call with x402 or MPP instead.
The DomainRef app never writes them to disk or its logs. A free grade is held in memory for up to 10 minutes, so a repeat costs no lookups, then dropped. The form sends the domain by POST, so it is not in the URL; a shared /grade?domain= link does carry it, and our firewall log keeps those URLs for about 6 months. The free limit uses a counter keyed by a one-way hash of your IP address, held in memory and deleted within 24 hours.
Refusals are free, before any charge. If a paid call still fails, email us the receipt and we refund it.
Yes, for every email check. Domain age needs the registry's RDAP, which .za does not offer yet, so the registration line shows as info in the full check and the age-only lookup is refused free.
See your letter grade and which checks fail. Unlock the exact fixes for $0.01.