Check DNS, SPF, DKIM, DMARC, and CAA records
Enter any domain to query A, AAAA, MX, NS, CAA, TXT, SPF, DKIM, DMARC, and DNSSEC status over Cloudflare DNS. Spot SPF 10-lookup overflows, weak p=none DMARC rules, and missing CAA locks.
DNS inspector ready. Showing hardened baseline snapshot; enter any domain below to query Cloudflare DNS.
Cloudflare DoH · RFC 7208 / 7489 / 8659 · no-store
- SPF lookup budget
- 5 / 10
- DMARC policy
- p=reject
- DKIM & DNSSEC
- 2 keys · AD
- CAA & origin records
- Locked
-all hard fail · valid
pct=100 · sp=reject
rsa active · DNSSEC signed
2 CAs · 2 A · 2 AAAA
Live DNS, email authentication, and CAA inspector
Query any public domain through our no-store Cloudflare DNS Worker. You can also load a sample snapshot to test SPF 10-lookup errors and revoked DKIM keys.
1. Email and certificate authentication ledger
Inspecting acme-pay.example across SPF, DMARC, DKIM, CAA, and DNSSEC.
Sender Policy Framework (RFC 7208)
SPF record & 10-lookup budget
- Terminal all qualifier
- -all (hard fail)
- Apex v=spf1 records
- 1 record
Raw TXT v=spf1
v=spf1 include:_spf.google.com include:amazonses.com -all
Domain-based Message Auth (RFC 7489)
DMARC enforcement & alignment
- Domain policy (p=)
- reject
- Subdomain policy (sp=)
- reject
- Sample & alignment
- pct=100 · adkim=s · aspf=r
- Aggregate URI (rua=)
- mailto:dmarc@acme-pay.example
Raw _dmarc TXT
v=DMARC1; p=reject; sp=reject; pct=100; adkim=s; aspf=r; rua=mailto:dmarc@acme-pay.example
DomainKeys Identified Mail (RFC 6376)
DKIM selector public keys
- Inspecting DKIM selectors...
Certificate Authority Authorization & DNSSEC
CAA locks & resolver AD bit
- DNSSEC Authenticated Data
- AD=1 (DNSSEC verified)
- Authorized CAs (issue)
- letsencrypt.org, pki.goog
- Wildcard CAs (issuewild)
- Inherits issue rules
- Incident contact (iodef)
- mailto:security@acme-pay.example
2. Full DNS record ledger
Authoritative answers for A, AAAA, CNAME, MX priority, NS delegation, CAA, and TXT rows with TTLs.
- Loading DNS answers...
Reproducible dig commands (#dns-dig-cmd)
# Generating dig commands...
Raw DNS security JSON (#dns-json)
{ "ok": true, "domain": "acme-pay.example" }Verify your DNS, SPF, DKIM, and DMARC records from a shell
Run dig from CI or your terminal to check what public resolvers see after a DNS change.
1. Check A, AAAA, MX, CAA, and DNSSEC validation
Confirm that your apex resolves to live edge IPs, publishes explicit CAA locks, and sets the ad flag when queried with DNSSEC enabled.
# 1. Query IPv4, IPv6, mail exchangers, nameservers, and CAA locks
dig +noall +answer camada.app A AAAA MX NS CAA
# 2. Verify DNSSEC Authenticated Data (look for the "ad" flag in ;; flags:)
dig +dnssec camada.app A | grep -E '^(;; flags:|camada\.app\.)'2. Audit SPF, DMARC policy, and DKIM public keys
Verify that only one v=spf1 record exists, check _dmarc enforcement, and test each active sender selector.
# 1. Inspect apex TXT rows and count multiple v=spf1 collisions
dig +short camada.app TXT
# 2. Check DMARC policy (p=none, p=quarantine, or p=reject)
dig +short _dmarc.camada.app TXT
# 3. Verify a specific DKIM public key selector
dig +short google._domainkey.camada.app TXTDNS security records and email authentication pitfalls
Each DNS record plays a clear role across web routing, TLS certs, and outbound mail checks.
Core DNS, certificate, and email security records
What each record controls and what to verify before pointing production traffic at a domain.
| Record | Example answer | Security & routing role | What to verify |
|---|---|---|---|
| A / AAAA | example.com -> 198.51.100.42 / 2001:db8::42 | Maps your domain to IPv4 and IPv6 web or edge servers. | Confirm zero stale staging IPs remain live to prevent subdomain takeover. |
| MX | example.com -> 10 aspmx.l.google.com. | Routes inbound mail by numeric priority (lowest number wins first). | Publish Null MX (0 .) on non-mail domains so receivers drop spoofed mail. |
| CAA | 0 issue "letsencrypt.org" | Restricts which Certificate Authorities may issue TLS certificates. | List active issuers in issue, restrict wildcards with issuewild, and set iodef. |
| SPF (TXT) | v=spf1 include:_spf.google.com -all | Lists allowed sending IPs and mail hosts for envelope-from checks. | Keep one v=spf1 record, stay at or under 10 DNS lookups, and end with -all or ~all. |
| DKIM (_domainkey) | google._domainkey -> v=DKIM1; k=rsa; p=MIIB... | Publishes the RSA or Ed25519 public key used to verify signed mail headers. | Check 2048-bit RSA or Ed25519 keys per active sender and revoke retired selectors with p=. |
| DMARC (_dmarc) | _dmarc -> v=DMARC1; p=reject; rua=mailto:... | Tells receivers how to handle messages that fail aligned SPF and DKIM checks. | Advance from p=none to p=quarantine and p=reject with pct=100 and sp=reject. |
| NS | ada.ns.cloudflare.com. | Delegates authoritative DNS zones across redundant nameserver hosts. | Run at least two nameservers on distinct networks and match parent glue records. |
| DNSSEC | DNSKEY / DS + resolver AD=1 flag | Signs DNS answers with zone keys to stop cache poisoning and spoofing. | Verify the resolver sets Authenticated Data (AD) and monitor DS rollovers. |
Common SPF, DKIM, DMARC, and CAA failure modes
Six DNS mistakes that break real mail delivery or leave domains open to spoofing and rogue certs.
| Failure mode | Broken syntax | Production impact | How to fix |
|---|---|---|---|
| +all open relay | v=spf1 mx +all | Allows every IP on the internet to send mail as your domain. | Replace +all with ~all during tests, then set -all once your sender list is complete. |
| >10 SPF lookups | v=spf1 include:a ... include:f -all | Exceeds the RFC 7208 10-query cap and triggers permerror on real mail. | Prune retired SaaS includes or isolate bulk senders on mail.example.com. |
| Dual v=spf1 TXT collision | Two TXT rows starting with v=spf1 | RFC 7208 section 4.5 returns permerror when a domain publishes two SPF records. | Merge every allowed sender rule into one single v=spf1 TXT record. |
| DMARC p=none | v=DMARC1; p=none; | Logs daily XML reports only and still delivers spoofed phishing mail to inboxes. | Review rua reports, verify DKIM alignment, then enforce p=quarantine or p=reject. |
| Revoked empty DKIM p= | v=DKIM1; k=rsa; p= | Marks a revoked key. Any sender that still signs mail with that selector fails DKIM. | Point active mailers at a live selector and keep p= only on retired keys. |
| Missing CAA | 0 CAA records at apex or parent | Any public CA can issue a certificate if a route hijack or BGP leak passes ACME validation. | Publish 0 issue rows for the exact CAs your edge and TLS automation use. |
Why clean DNS records still need in-app session protection
SPF, DKIM, and DMARC stop attackers from sending fake mail from your domain. CAA limits which authorities can sign TLS certs for your host. None of those DNS records filter traffic reaching your A and AAAA web servers. Pair clean DNS records with a camada SDK in your backend to stop credential stuffing, scrapers, and exploit scans.
01
Credential stuffers hit A and AAAA routes over valid HTTPS
Clean DMARC and CAA records protect mail and certs. Attackers still replay leaked password lists against your /login route from home IPs.
02
Exploit scanners and scrapers walk endpoints after DNS resolves
Automated probes resolve your A record once, then sweep /.env, /admin, and catalog APIs in seconds. Watchkeeper correlates path bursts, 404 ratios, and TLS fingerprints.
03
In-app SDKs enforce session verdicts without proxying DNS
You keep your current DNS provider and CDN. Your backend polls active camada verdicts every 30 seconds, fails open on outages, and never ships passwords or cookies.
Catch password sprays and exploit scans inside your backend
Add an open-source SDK with one CAMADA_KEY variable. Keep your existing DNS zone and CDN while Watchkeeper scores failed logins and path probes.
import camada from '@camada/node';
app.use(camada.express()); // polls active verdicts every 30s, fails open
app.post('/login', async (req, res) => {
const user = await verifyPassword(req.body.email, req.body.password);
if (!user) {
camada.track(req, 'login_failed', { account: hashEmail(req.body.email) });
return res.status(401).json({ error: 'Invalid credentials' });
}
return res.json({ ok: true });
});SDK guides: Cloudflare, no code · Hono on Workers · Python · Go SDK · PHP · Ruby · Java · .NET
session: ses_7f3a9c1e04b2 · action: blocked
This session submitted login attempts for many different accounts with one password pattern. The failure rate and pacing match a stolen-credential list being replayed.
- 38 login attempts for 36 different usernames in 3 minutes
- 97% of attempts returned an invalid credentials response
- Requests spaced at near-identical intervals of about 4.7 seconds
- Login form posted with no prior page view of the form
ip: 203.0.113.x · action: blocked
This address walked a list of well-known admin and config paths in a few seconds. Nearly every request ended in a 404, which is how a probe looks and not how a visitor does.
- 212 requests in 40 seconds across 187 distinct paths
- Hit /wp-login.php, /.env, /.git/config and /phpmyadmin in sequence
- 94% of responses were 404 or 403
- No cookies kept and no static assets fetched
Questions about DNS, SPF, DKIM, DMARC, and CAA
Need to protect web logins and APIs behind your domain too? Read the SDK documentation or compare plans and limits.
- What is the difference between SPF, DKIM, and DMARC?
- SPF lists the mail servers and cloud senders allowed to send mail for your domain. DKIM signs outgoing messages with a private key and publishes the public key at <selector>._domainkey. DMARC tells mail servers to quarantine or drop mail that fails SPF and DKIM checks.
- Why does SPF fail when a record exceeds 10 DNS lookups?
- RFC 7208 caps SPF evaluation at 10 mechanisms that trigger DNS queries, including include, a, mx, ptr, exists, and redirect. Passing 10 lookups causes a permerror. Mail servers then treat your real mail as unsigned. Flatten unused third-party include entries or move transactional mail to a subdomain.
- What is the difference between DMARC p=none, p=quarantine, and p=reject?
- p=none only monitors mail and delivers spoofed messages to the inbox. p=quarantine routes failing messages to spam so teams can verify alignment reports first. p=reject instructs mail servers to drop unauthenticated spoofed messages outright.
- How do I find my DKIM selector to test <selector>._domainkey?
- Open an email sent from your domain, click "Show original" or view raw headers, and look for the s= tag inside DKIM-Signature. Google Workspace often uses google, and Microsoft 365 uses selector1 or selector2. Mailchimp uses k1, while transactional tools often use resend or s1.
- What does a DNS CAA record protect against?
- A CAA record names the Certificate Authorities allowed to sign TLS certs for your domain, such as letsencrypt.org or pki.goog. Certificate Authorities check CAA before signing a cert. That stops unauthorized authorities from issuing certs for your domain.
Use it from an AI agent
This page is also Markdown at /tools/dns-lookup.md. The check itself runs from the form on this page.
The MCP server needs no key. Every agent tool on this site is listed in the server card and on the tools page.
Related tools
- Signup email audit
Paste signup emails to find disposable domains, Gmail dot and plus aliases, look-alike runs, invalid syntax, and domains with no or null MX.
- Website security check
Enter a URL to trace HTTPS redirects, check CSP and OWASP headers, and audit cookie flags. Also checks robots.txt, llms.txt, and security.txt.
- security.txt generator
Make a valid security.txt file with a short form, or paste one to check it. Covers Contact, Expires, and PGP.
Protect the HTTP routes behind your DNS records.
Install the SDK on the Free plan to score 100,000 events a month with no card. Enable in-app blocks and challenges on Starter ($59/month) or Growth ($249/month).
Free needs no card. A 14-day trial of Starter or Growth needs a card. Nothing is charged today. Cancel before the trial ends (the date is shown in the app) and you pay nothing. Otherwise the plan's monthly price starts on day 15.