Free tool

DNS Security Checker

Check the DNS of any domain for security problems. Scan name servers, SPF, DKIM, DMARC, DNSSEC, CAA and forgotten CNAME records, check a zone file for mistakes before you publish it, follow every SPF include, verify a DS record against its key, and build SPF, DMARC, CAA and MTA-STS records. Live checks use a public DNS-over-HTTPS service; pasted zone files and records stay in your browser.

  • Email, DNSSEC and CAA grade
  • Zone file and SPF analyzer
  • Record builders, free

Live checks send the domain name to Cloudflare or Google (DNS over HTTPS). A browser cannot make raw DNS queries, request zone transfers or open the sites it checks, so dangling CNAMEs are found through DNS only and MTA-STS policy files are not fetched.

DNS is the phone book of the internet. It decides where your website goes and where your email is delivered. If it is set up badly, attackers can spoof your email, hijack a forgotten subdomain, or your whole site can disappear. This DNS Security Checker looks at the public DNS of any domain and explains in plain words what is weak and how to fix it. It also checks a zone file before you publish it, follows every SPF include, tests whether your DNSSEC records match, and builds SPF, DMARC, CAA and MTA-STS records for you. It is free and needs no signup.

Quick answerOpen the Scan tab, type your domain and press Scan domain. You get a grade, a list of problems to fix first, and a copy button with the fix for each one. To check a zone file before you publish it, use the Zone tab. No lookup is needed for that.

It can

  • Grade email, DNSSEC and name server setup
  • Find dangling CNAME records
  • Check a zone file for mistakes
  • Build SPF, DMARC, CAA and MTA-STS

It cannot

  • Open your site to confirm a takeover
  • Fetch your MTA-STS policy file
  • Do zone transfers or raw DNS
  • Find every subdomain you own

Best for

  • Site owners and agencies
  • Fixing email going to spam
  • Checking DNS before a move
  • Sysadmins and developers

What this DNS Security Checker does

Every domain has DNS records. They say which servers answer for the domain, where the website lives, which mail servers receive email, and which servers are allowed to send mail in your name. These records are public, so anyone can read them, including attackers.

The tool reads them for you. In the Scan tab it asks a public DNS service for the records, runs a set of checks and gives a grade from A+ to F. Each finding says what it means and gives a fix you can copy. The other tabs go deeper: a zone file checker, an SPF analyzer, a DNSSEC checker, record builders and a plain lookup.

What is DNS security?

It means making sure the answers DNS gives about your domain are correct, cannot be faked easily, and are not left pointing at things you no longer control. In practice that covers email protection (SPF, DKIM and DMARC), signed answers (DNSSEC), limits on who can issue your certificates (CAA), and clean records without forgotten leftovers.

How a DNS lookup works

When someone opens your website, their device asks a resolver, usually run by their internet provider or a service such as Cloudflare or Google. The resolver asks the root servers, then the servers for the ending such as .com, and finally your own name servers. The answer comes back and is kept for a while, which is called the TTL. This tool asks the resolver, so you see what the world sees.

How a DNS lookup travels A visitor asks a resolver for a domain. The resolver asks the root servers, then the servers for the domain ending, then the domain's own name servers, and returns the answer to the visitor. Spoofed mail, hijacked subdomains and broken DNSSEC are the three places where trouble appears. Visitoropens your site Resolverasks, then caches Root.com serversYour name servers who runs .com?who runs your domain?the real records Where it goes wrong Spoofed emailweak SPF or DMARCHijacked subdomaindangling CNAMESite unreachablebroken DNSSEC

The checker reads the same public answers a resolver sees, then looks for the three problems on the right.

How to use it step by step

  1. Enter your domain. In the Scan tab type it as example.com. A full address with https works too, the tool removes the extra parts.
  2. Press Scan domain. It asks Cloudflare (or Google, if you pick it) for the records. A scan takes a few seconds.
  3. Read the grade. Red items need a fix, yellow items are worth improving, green items are good, and grey notes are for information.
  4. Open a finding. Each one explains the problem in plain words and has a Copy fix button with the record or step to use.
  5. Go deeper if needed. The SPF tab counts lookups. The DNSSEC tab checks whether your DS record matches your key. The Zone tab checks a zone file.
  6. Save a report. The Report tab gives you everything as text, Markdown or JSON.
Try itOpen the Zone tab and press Load example with mistakes. It shows a made-up zone for example.test with a CNAME at the root, a missing dot, a private IP and two SPF records, and explains each one.

What the checks mean

CheckIn plain words
SPFA list of servers allowed to send email for your domain. Receivers use it to spot fake mail.
DKIMA digital signature on your email. The public key sits in DNS so receivers can check it.
DMARCTells receivers what to do with mail that fails SPF and DKIM, and sends you reports.
MTA-STS, TLS-RPTAsk other mail servers to use encrypted delivery to you, and report when they cannot.
DNSSECSigns your DNS answers so they cannot be changed on the way. It needs a DS record at your registrar.
CAANames the certificate authorities that may issue certificates for your domain.
NS recordsThe name servers that answer for your domain. You need at least two.
Dangling CNAMEA subdomain that points to a name which no longer exists.

What you can do with it

  • Domain scan. Name servers, SOA, mail servers, SPF, DMARC, MTA-STS, TLS-RPT, DKIM at 20 common selectors, CAA, DNSSEC and DANE, with a weighted grade.
  • Dangling CNAME sweep. It checks 37 common subdomains such as www, mail, blog, shop and dev, and flags targets that no longer exist.
  • Zone file checker. Paste a zone file or dig output and get structural mistakes, with the line numbers.
  • SPF analyzer. It follows every include, counts the DNS lookups against the limit of 10, shows the tree and lists the allowed address ranges.
  • DNSSEC checker. It recomputes the DS digest from your DNSKEY and tells you if they match. Algorithm and key size are rated too.
  • Record builders. SPF with common senders, DMARC, CAA, MTA-STS with TLS-RPT, and a lock-down set for domains that send no mail.
  • Lookup. Any record type, reverse lookup for an IP, and a side-by-side comparison of Cloudflare and Google.
  • Report. Copy or download your results as text, Markdown or JSON.

What is a dangling CNAME?

A CNAME record makes one name an alias of another. Say blog.example.com points to myblog.github.io. Later you delete the project on GitHub but forget the DNS record. Now the alias points to nothing, and anyone can create a project with that name and serve their own page on your subdomain. This is called a subdomain takeover. It lets attackers run phishing pages on your real domain and sometimes read your cookies.

How a subdomain takeover happens Step one: blog.example.com points to a project on a hosting service. Step two: the project is deleted but the DNS record stays. Step three: an attacker claims the same project name and now controls what blog.example.com shows. 1. It works2. Project deleted3. Attacker claims it blog.example.compoints to a projecton a hosting service. The project is gone,but the DNS recordstays. Nothing owns it. Someone signs up withthe same project nameand controls your page. Fix: delete the CNAME as soon as you delete the service.

The fix costs nothing. Remove the DNS record when you remove the service.

The tool finds CNAME records on common subdomains whose target no longer exists, and it names the ones that point to services where this is possible. It looks at DNS only. It does not open the site, so for those it tells you what to check by hand.

Tips for safer DNS

  • Set up SPF, DKIM and DMARC together. Gmail and Yahoo ask bulk senders for them. Start DMARC with p=none, read the reports, then move to quarantine and reject.
  • Stay under 10 SPF lookups. Every include counts, and so do the includes inside them. More than 10 makes SPF fail for all your mail.
  • Keep one SPF record. Two SPF records on the same name break SPF. Merge them into one.
  • Use two or more name servers. One failure should not take your domain offline.
  • Clean up when you remove a service. Delete its CNAME, TXT and MX records the same day.
  • Be careful with DNSSEC. When you change DNS host, update or remove the DS record at your registrar. A stale DS makes the domain unreachable for many people.
  • Add a CAA record. Include the authority you use now, or your next renewal fails.
  • Lock parked domains. A domain that sends no mail should publish v=spf1 -all, a DMARC reject policy and a null MX. The Build tab makes them.
  • Check the zone file before you publish. A missing trailing dot is the most common mistake in hand-edited zones.

What this tool cannot do

  • A browser cannot send raw DNS queries. The live tabs use DNS over HTTPS from Cloudflare or Google. They see the same public answers as other users, with caching, so a very recent change may not show yet.
  • No zone transfers. The tool cannot list every record of a zone. It checks known names such as the root, mail records, DKIM selectors and 37 common subdomains. A subdomain with an unusual name is not found.
  • Dangling CNAMEs are found through DNS only. The tool cannot open the site to see a provider’s “not found” page. A target that still resolves may still be unclaimed, so open those yourself.
  • DKIM can be missed. A key can use any selector name. The tool tries 20 common names plus the ones you add. Finding none does not prove DKIM is missing.
  • MTA-STS policy files are not fetched. A browser cannot read that file from another site. The tool checks the DNS record only.
  • It does not test your mail or website. It reads DNS. It does not send a test email or check if the server answers.
  • Builder values can change. Providers update their SPF includes. Check your provider’s current instructions before you publish a record.
  • I did not test on a real phone. The page fits a phone-sized screen, but I could not try real touch use.

Your privacy

Live checks send the domain name you enter to Cloudflare or Google, because they answer the DNS question. They see the name, as with any lookup. The zone checker, the builders and the pasted-record checks run only in your browser and nothing you paste is uploaded or saved. Your last domain and a few settings stay on your own device, and you can clear them by clearing site data in the browser.

Why trust this page

I built this tool myself and tested it before writing this page. For DNSSEC I made a real signing key and worked out the DS digest in a separate Python program. The key tag and the SHA-1, SHA-256 and SHA-384 digests matched the tool exactly. A pasted DS that matched its key passed, and one with a changed digest failed. A DS using an old algorithm with a SHA-1 digest got the two warnings it should.

The zone checker found every problem in my example zone: the CNAME at the root, the CNAME next to a TXT record, the missing dot that turns mail.example.test into mail.example.test.example.test, the private IP, the two SPF records, the takeover-prone targets and the missing DMARC. A clean zone passed, and a zone with an invalid IP, a 300-character TXT string and an unknown record type showed the right errors. The SPF analyzer counted three lookups for a test record with two nested includes, flagged +all, flagged a record with eleven includes, and warned on ptr and on a huge range. The SPF, DMARC, CAA, MTA-STS and no-mail builders wrote the lines I expected.

There is one limit I want to say clearly. My test environment had no real internet, so I tested the live checks against fake DNS answers I wrote myself, not against real DNS servers. They found the dangling CNAME, the missing name server, the weak DKIM key, a DS that did not match and a SERVFAIL, and the tool showed a clear message when the lookup service could not be reached. I also tested without web fonts, so I saw fallback fonts, and not on a real phone. A phone-sized layout had no sideways scrolling.

Questions people ask

Is this DNS Security Checker free?

Yes. It is free, with no signup and no limits. Live checks send the domain name to Cloudflare or Google, and everything you paste stays in your browser.

How do I check my domain’s DNS security?

Open the Scan tab, enter your domain and press Scan domain. You get a grade and a list of problems, each with a fix you can copy. Start with the red items.

What is a dangling DNS record?

It is a record that points to something that no longer exists, usually a CNAME to a deleted hosting project. If the service lets anyone claim that name, an attacker can take over your subdomain. Delete the record when you delete the service.

What does the SPF 10 lookup limit mean?

An SPF check may use at most 10 DNS lookups, counted through all the includes inside includes. Above 10, SPF returns a permanent error and fails. The SPF tab counts them for you and shows the tree. A third lookup that returns nothing also fails.

Why is my email going to spam?

Common reasons are a missing or wrong SPF record, no DKIM signature, no DMARC policy, or two SPF records. Scan your domain. Gmail and Yahoo expect SPF, DKIM and DMARC from bulk senders.

What is DMARC p=none?

It means monitor only. You get reports but spoofed mail is still delivered. It is a good first step. After you read the reports and fix real senders, move to p=quarantine and then p=reject.

Do I need DNSSEC?

It is optional and it protects against forged DNS answers. It also adds risk if it is set up wrong, since a mismatched DS record can make your domain fail on validating resolvers. If you use it, the DNSSEC tab shows whether your DS and key match.

What does “DS record does not match” mean?

The DS record at your registrar describes a key that your DNS host no longer uses. Validating resolvers then refuse to answer for your domain. Get the current DS from your DNS host and replace the old one, or remove it if you stopped using DNSSEC.

What is a CAA record?

It lists the certificate authorities allowed to issue certificates for your domain. Others must refuse. Add the authority you use now when you create it.

Why can’t a CNAME be at the root of my domain?

The root must also hold the SOA and NS records, and a name with a CNAME cannot have other records. Use an A record, or the ALIAS or CNAME flattening feature of your DNS host.

Can the tool check a zone file offline?

Yes. The Zone tab reads a zone file or dig output in your browser and sends nothing anywhere. It does not need a lookup.

Why does it not find all my subdomains?

DNS does not allow listing every name, and browsers cannot request zone transfers. The tool checks 37 common names. If you keep a list of your subdomains, check the ones it missed in the Lookup tab.

Waqas Amjad

Hi, I’m Waqas, the person behind Brivonto. I started this site because I wanted online tools that simply work, without sign-ups or watermarks. I build each tool myself and keep improving them based on your feedback. Questions or feedback?

Get in touch.

h