Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

DNS Security Troubleshooting

Direct answer

Troubleshoot DNS security by checking DNSSEC validation with dig +dnssec and delv, SERVFAIL caused by bad signatures or expired keys, RPZ or filter hits in resolver logs, and whether clients bypass the resolver with DoH.

When to use this

Use this when DNS security controls cause failures or miss attacks.

First 30 seconds

1. SERVFAIL with DNSSEC: broken signatures/expired DS.

2. Unexpected blocks: filtering false positives.

3. Bypass: clients using DoH/other resolvers.

4. Poisoning suspicion: compare answers, flush caches.

5. Check logs.

Operational verification

client → resolver → policy/validation → answer

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Network security
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformNetwork security · BIND / dig
Key commanddig +dnssec <name> <type>
Scope / prerequisiteUse this when DNS security controls cause failures or miss attacks.
Reference · 1
What next?3 suggested next steps
Catalog command links1
Evidence0
On this pageJump to a specific section
Security command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Troubleshooting order Narrow the fault

1. Is the client using the expected resolver? (ipconfig /all, resolvectl status)

2. Does the resolver answer? (dig @resolver name)

3. SERVFAIL: DNSSEC problem? Compare dig +cd (checking disabled) — if that works, validation fails (delv shows why).

4. Blocked by filtering/RPZ? Check resolver logs.

5. Wrong answer: compare with the authoritative server (dig @ns1.example.com name) and other resolvers.

Step 2 Common symptoms Narrow the fault
SymptomLikely cause
SERVFAIL only on validating resolversDNSSEC chain broken (DS/DNSKEY mismatch, expired RRSIG)
NXDOMAIN for existing namesRPZ/filter block or wrong zone
Works by IP, not nameResolver or search domain
Slow lookupsUnreachable forwarders, EDNS/fragment problems
Different answers per siteSplit DNS or caching
Step 3 Common mistakes Narrow the fault
  • Testing with a resolver that bypasses RPZ/DNSSEC.
Key points
  • DNSSEC errors appear as SERVFAIL.
  • RPZ hits can block legitimate sites.
  • DoH clients can bypass internal resolvers.
Key checks
  • dig +trace <domain> — resolution path
  • delv <domain> — DNSSEC validation detail
  • Resolver logs/filter logs — blocks and failures
ReferenceHow it works1 section · depth on demand

In depth

DNS security troubleshooting covers failures caused by security controls — DNSSEC validation errors, filtering blocks, encrypted DNS bypass — and investigation of suspicious DNS activity.

SymptomCheck
SERVFAIL for one domainDNSSEC: dig +cd (checking disabled) works? → validation failure; check with delv or DNSViz
Site blocked unexpectedlyProtective DNS/RPZ logs, category of the domain
Clients bypass internal DNSBrowser DoH settings, outbound 53/853 allowed?
Suspicious queriesLong random subdomains, rare domains, NXDOMAIN bursts
dig example.com +dnssec
dig example.com +cd
delv @10.0.0.53 example.com

Disable browser DoH via enterprise policy or the canary domain use-application-dns.net so internal resolvers and filtering remain effective.

ReferenceConfiguration & state1 section · depth on demand
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docNetwork security current

Authoritative/upstream documentation reviewed for bounded claims in DNS Security → DNS Security Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc4033 · confidence 94%
Confirmation

Confirm action

Continue?