Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

DNS Security

Direct answer

DNS security protects name resolution from spoofing, cache poisoning, tunneling and abuse, using DNSSEC validation, encrypted DNS, DNS filtering, response policy zones, sinkholes and query logging.

When to use this

Use this when protecting name resolution from spoofing, poisoning, tunneling and abuse.

First 30 seconds

1. DNS security: DNSSEC, protective resolvers/filtering, logging, encrypted DNS, tunnelling detection.

2. Restrict outbound DNS to approved resolvers.

3. Monitor queries.

4. Protect authoritative servers.

5. Patch DNS software.

Operational verification

client → resolver (filter, DNSSEC validation, logs) → authoritative

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Registrar account without MFA or registry lock — attackers change name servers.
  • Dangling DNS records (CNAMEs to deleted cloud resources) enabling subdomain takeover.
  • Open resolvers used in amplification attacks.
  • No query logging, so malware lookups go unseen.
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
Scope / prerequisiteUse this when protecting name resolution from spoofing, poisoning, tunneling and abuse.
What next?2 suggested next steps
Child topics (this level)9
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Drill down

Subtopics

Go one level deeper into this subject.

Subtopic DNS Security Fundamentals

DNS security fundamentals: DNS was built without authentication, so it can be spoofed, poisoned, tunneled and abused for DDoS.

Subtopic DNSSEC

DNSSEC adds digital signatures to DNS records so resolvers can verify they come from the zone owner and are unchanged.

Subtopic DNS Cache Poisoning

DNS cache poisoning inserts forged records into a resolver's cache, so every client using it is sent to the attacker.

Subtopic DNS Spoofing

DNS spoofing in DNS security means answering a query with forged data before the real server replies or from a compromised resolver.

Subtopic DNS Tunneling

DNS tunneling hides data or command-and-control traffic inside DNS queries and responses, such as long encoded subdomains.

Subtopic DNS Filtering

DNS filtering blocks lookups of known malicious, phishing or unwanted domains at the resolver, using threat feeds or categories, so connections fail before they start.

Subtopic Sinkhole

A DNS sinkhole answers queries for malicious domains with a controlled IP address, so infected clients connect to a harmless server instead of the attacker, which also reveals which hosts are infected.

Subtopic RPZ

RPZ (Response Policy Zones) lets a recursive resolver rewrite or block answers for listed domains, IPs or name servers, distributing DNS blocklists as ordinary zone transfers.

Subtopic DNS Security Troubleshooting

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.

Key points
  • Plain DNS has no authentication.
  • DNSSEC protects answers; DoT/DoH protect the transport.
  • DNS logs reveal malware and exfiltration.
Key checks
  • dig +dnssec <domain> — DNSSEC data
  • dig @<resolver> <malicious-test-domain> — filtering test
  • DNS query logs — visibility
ReferenceWhy it matters1 section · depth on demand

Threats and controls

ThreatControl
Spoofing / cache poisoningDNSSEC validation, source-port randomisation
Malicious domainsDNS filtering, RPZ, protective DNS
Tunnelling / exfiltrationQuery analytics, block direct outbound DNS
DDoS / amplificationRate limiting, no open resolvers, anycast
Domain hijackingRegistrar lock, MFA on registrar accounts
PrivacyDoT/DoH to trusted resolvers
ReferenceImportant terms & boundaries2 sections · depth on demand

Protective layers

LayerControl
AuthoritativeDNSSEC signing, registrar lock, MFA on registrar accounts
ResolverDNSSEC validation, source port randomisation, rate limiting
ClientProtective DNS / RPZ, DoH/DoT to trusted resolvers
MonitoringQuery logging, tunnelling and DGA detection

In depth

DNS security protects name resolution — a service nearly every connection depends on — against spoofing, hijacking, abuse for data exfiltration and use as a malware control channel. It also turns DNS into a defensive tool: blocking known-bad domains stops many attacks early.

AreaControl
IntegrityDNSSEC signing and validation
PrivacyDoT/DoH to trusted resolvers
Protective DNSFiltering, RPZ, sinkholes
DetectionDNS logging, tunnelling and DGA detection
InfrastructureNo open resolvers, restricted zone transfers, registrar lock

Force clients to use internal resolvers (block outbound DNS elsewhere) so protective controls cannot be bypassed.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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. 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?