DNS Guard
See how a domain handles mail before you trust it.
DNS Guard reads public DNS and the live HTTPS certificate, then returns a 0–100 protection score with the exact query that produced each finding. Built for agents. No paid data sources.
- One domain
- $0.02
- Bulk, up to 25
- $2.50
What one call checks
SPF
The published record, its mechanisms, the all qualifier, and the DNS lookup count against the limit of 10.
DMARC
Policy, subdomain policy, percentage, report addresses, and SPF/DKIM alignment.
CAA
Which certificate authorities may issue, and where incident reports go.
MX
Mail hosts, priorities, and whether each one resolves to a public address.
DKIM
Common selectors, each reported found or not found. An empty key is a revocation.
MTA-STS
The _mta-sts TXT record, version STSv1, and the policy id.
TLS-RPT
The _smtp._tls report record and its rua address.
DNSSEC
The DS record and the resolver's AD flag.
TLS
Issuer, validity, days to expiry, and whether the certificate covers the hostname.
Call it
curl -s https://your-host/api/check/google.com
curl -s -H "Authorization: Bearer $KEY" \
https://your-host/api/check/google.com?format=csv
curl -s -X POST https://your-host/api/bulk \
-H "Content-Type: application/json" \
-d '{"domains":["google.com","python.org"]}'Send a key as Authorization: Bearer or X-API-Key. Without a key, each IP gets 20 calls per UTC day. The next call is HTTP 402 with x402 payment requirements. A paid call skips the free tier.
Pay per call with x402: USDC on Base (chain id 8453) to 0xe331E85A45790CFd949208fEdd78b530fc45C6EE, token 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913. Sign an EIP-3009 authorization for the exact price from the 402 and resend with PAYMENT-SIGNATURE (x402 v2) or X-PAYMENT (v1). The payment is verified and settled on-chain, then the data is returned at once with a PAYMENT-RESPONSE receipt. A failed call is not charged.
Score
pass awards the full weight, warn awards half the weight rounded down, and fail awards 0.
| Check | Weight | Pass |
|---|---|---|
| SPF | 20 | One record, -all, and at most 10 DNS lookups. |
| DMARC | 25 | p=reject at pct 100. |
| CAA | 5 | At least one issue or issuewild issuer is named. |
| MX | 10 | At least one MX host resolves to a public address. |
| DKIM | 15 | A common selector publishes a public key. |
| MTA-STS | 8 | v=STSv1 with an id. |
| TLS-RPT | 5 | v=TLSRPTv1 with an rua address. |
| DNSSEC | 6 | The resolver set the AD flag. |
| TLS certificate | 6 | Trusted chain, hostname match, more than 30 days of life. |