---
title: "DNS, SPF, DKIM & DMARC Security Lookup · camada"
description: "Look up A, AAAA, MX, NS, CAA, SPF, DKIM, DMARC, and DNSSEC records for any domain. Audit SPF 10-lookup limits and DMARC reject policies in seconds."
url: https://www.camada.app/tools/dns-lookup
last_updated: 2026-11-19
---

# 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.

[Run DNS & DMARC lookup](https://www.camada.app/tools/dns-lookup#lookup) [DNS & email auth reference](https://www.camada.app/tools/dns-lookup#reference) [Scan HTTP headers & cookies](https://www.camada.app/tools/website-security-check)

## 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.

## 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.

terminal · dig zone & dnssec check

```sh
# 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.

terminal · dig spf, dmarc & dkim

```sh
# 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 TXT
```

## DNS 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.

[Stop credential stuffing in your app](https://www.camada.app/use-cases/credential-stuffing)

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.

[Scan your live HTTP headers and cookies](https://www.camada.app/tools/website-security-check)

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.

[See how in-app bot detection works](https://www.camada.app/bot-detection)

### 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.

server.js · @camada/node

```js
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](https://www.camada.app/docs/cloudflare) · [Hono on Workers](https://www.camada.app/docs/hono) · [Python](https://www.camada.app/docs/python) · [Go SDK](https://www.camada.app/docs/go) · [PHP](https://www.camada.app/docs/php) · [Ruby](https://www.camada.app/docs/ruby) · [Java](https://www.camada.app/docs/java) · [.NET](https://www.camada.app/docs/dotnet)

- [Stop credential stuffing](https://www.camada.app/use-cases/credential-stuffing)
- [Stop catalog scraping](https://www.camada.app/use-cases/scraping)
- [Website security check](https://www.camada.app/tools/website-security-check)
- [CSP & headers analyzer](https://www.camada.app/tools/security-headers)
- [Live CORS checker](https://www.camada.app/tools/cors-checker)
- [Signup email audit](https://www.camada.app/tools/signup-email-audit)
- [Security glossary](https://www.camada.app/glossary)

Example verdict malicious · 91% confidence · 6 hours

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

Example verdict malicious · 96% confidence · 12 hours

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](https://www.camada.app/docs) or compare [plans and limits](https://www.camada.app/pricing).

**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](https://www.camada.app/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](https://www.camada.app/.well-known/mcp/server-card.json) and on [the tools page](https://www.camada.app/tools#agents).

## Related tools

- [Signup email audit](https://www.camada.app/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](https://www.camada.app/tools/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](https://www.camada.app/tools/security-txt-generator)

  Make a valid security.txt file with a short form, or paste one to check it. Covers Contact, Expires, and PGP.

[All free tools](https://www.camada.app/tools)

## 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).

[Get started free](https://my.camada.app/) [In-app bot detection](https://www.camada.app/bot-detection) [All 14 frameworks](https://www.camada.app/frameworks) [See pricing](https://www.camada.app/pricing)

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.

## Sitemap

[Every page on this site](https://www.camada.app/sitemap.md)
