DNS Security Checker

Enter a domain to analyze its DNS-based security configuration: SPF, DMARC, DKIM (with an optional selector), DNSSEC, CAA, MX, and NS. Each finding is explained in plain language.

Input

Results

Overview

The DNS Security Checker reviews the DNS records that protect a domain's email and encryption: SPF and DMARC (and DKIM, if you supply a selector) for email authentication, DNSSEC for DNS integrity, CAA for certificate issuance, and the MX and NS records that tie them together.

Use it to find spoofing exposure, to verify a new mail provider's records, or as part of an incident review of a domain.

How It Works

The tool reuses this site's DNS Lookup to retrieve the records, then analyzes them in your browser. SPF (RFC 7208): it finds the v=spf1 record, lists its mechanisms (include, a, mx, ip4, ip6, all), and identifies the final policy (-all hard fail, ~all soft fail, ?all neutral, +all allows everyone). It flags multiple SPF records, a +all policy, and a high count of DNS-lookup mechanisms, since SPF allows at most 10 lookups.

DMARC (RFC 7489): reads the record at _dmarc.<domain> and reports the policy (none, quarantine, reject), subdomain policy, percentage, alignment modes, and report addresses. DKIM (RFC 6376): if you enter a selector, the public-key record at <selector>._domainkey.<domain> is shown. DNSSEC (RFC 4033): the presence of DS and DNSKEY records is reported. CAA (RFC 8659): lists which certificate authorities may issue certificates for the domain.

How to Use the DNS Security Checker

  1. Enter a domain such as example.com.
  2. Optionally enter a DKIM selector supplied by your mail provider (for example google or selector1). Selectors cannot be discovered automatically.
  3. Press Analyze and read the Overview table, then each section's explanation and findings.
  4. Copy the results for your records or change request.

Worked Example

A domain with SPF and a monitoring-only DMARC policy

This runs the tool's real analysis on two hypothetical TXT records.

Input

SPF:   v=spf1 include:_spf.mailer.example.net include:send.example.org ~all
DMARC: v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com

Output

SPF
  Final policy: ~all  -  Soft fail: mail from servers not listed is suspicious but typically still accepted/flagged.
  Direct DNS-lookup mechanisms: 2
  Findings: none

DMARC
  Policy (p): none  -  Monitoring only: failing mail is delivered normally; reports may be sent. Useful while rolling DMARC out, but provides no enforcement.
  Aggregate reports (rua): mailto:dmarc-reports@example.com
  Findings: Policy is "none" — DMARC is in monitoring mode and not actively protecting the domain from spoofing.

The SPF record ends in ~all (soft fail): mail from servers not listed is suspicious but typically still accepted or flagged. It is common while a sending setup is being finalized, but -all is stricter once all legitimate senders are known.

The DMARC policy is none, so DMARC is in monitoring mode: failing messages are still delivered, and the domain is not actively protected against spoofing. The rua address means reports will arrive, which is the normal stage before moving to quarantine and then reject.

Interpreting Results

SPF final policy
-all reject unlisted senders; ~all soft fail; ?all no assertion; +all authorizes anyone and is flagged as potentially unsafe.
DMARC p=none / quarantine / reject
Monitor only, treat as suspicious (often spam folder), or refuse. Only quarantine and reject enforce.
DKIM record
Shows that a public key is published at that selector. An empty p= value means the key was revoked.
DNSSEC detected / not detected / unable to determine
DS and DNSKEY records present or absent. Presence does not prove the chain validates.
CAA
Restricts which CAs may issue certificates. If missing, any public CA may.

Troubleshooting

Multiple SPF records.
A domain must publish exactly one SPF record; two or more cause SPF to fail. Merge them into a single record.
SPF "lookup limit" finding.
Each include, a, mx, ptr, exists and redirect costs a DNS lookup, and nested includes count. Remove unused services or use ip4/ip6 ranges directly.
No DMARC record found.
Publish a TXT record at _dmarc.<domain>, starting with p=none and a rua address to collect reports before enforcing.
A DKIM selector shows "not found".
Confirm the exact selector with your mail provider, and the record name selector._domainkey.domain.
A lookup failed rather than returned nothing.
The page says "lookup failed" (not "not found") for that section. Retry; a persistent failure can indicate DNSSEC or delegation problems.

Limitations and Accuracy

  • A configuration analysis, not complete compliance validation.
  • SPF include chains are not followed, so the 10-lookup limit is checked only for mechanisms directly in the record.
  • DKIM signatures are not verified; that requires an actual message.
  • DNSSEC records existing does not prove a valid chain of trust.
  • Records are read through a public DNS-over-HTTPS resolver and may be cached.

Data Handling

Uses server-side requests. The domain (and DKIM selector, if given) is sent to this site's server function, which queries a DNS-over-HTTPS resolver. The analysis runs in your browser.
Sent to: Cloudflare (cloudflare-dns.com).

Inputs travel as URL query parameters, so avoid entering confidential internal hostnames or personal data. See the Privacy Policy for how requests are handled.

Frequently Asked Questions

What is the difference between SPF, DKIM, and DMARC?

SPF lists which servers may send for a domain, DKIM signs messages so changes can be detected, and DMARC tells receivers what to do when SPF/DKIM do not align with the visible From domain, and where to send reports. The guide explains each with examples.

Should I use p=reject?

Eventually, for domains that send mail, after monitoring reports to confirm all legitimate senders pass. Moving too early can block real mail.

Do I need DNSSEC?

It protects the integrity of DNS answers and is valuable in some environments, but needs careful operation; misconfiguration can make a domain unreachable for validating resolvers.