Use this when protecting name resolution from spoofing, poisoning, tunneling and abuse.
DNS Security
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.
client → resolver (filter, DNSSEC validation, logs) → authoritative
Context & applicabilityCommon mistakes · platform/version boundaries
- 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.
Operational reference
Fast context before you go deeper.
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.
Subtopics
Go one level deeper into this subject.
DNS security fundamentals: DNS was built without authentication, so it can be spoofed, poisoned, tunneled and abused for DDoS.
Subtopic DNSSECDNSSEC adds digital signatures to DNS records so resolvers can verify they come from the zone owner and are unchanged.
Subtopic DNS Cache PoisoningDNS cache poisoning inserts forged records into a resolver's cache, so every client using it is sent to the attacker.
Subtopic DNS SpoofingDNS spoofing in DNS security means answering a query with forged data before the real server replies or from a compromised resolver.
Subtopic DNS TunnelingDNS tunneling hides data or command-and-control traffic inside DNS queries and responses, such as long encoded subdomains.
Subtopic DNS FilteringDNS 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 SinkholeA 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 RPZRPZ (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 TroubleshootingTroubleshoot 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.
ReferenceWhy it matters1 section · depth on demand
Threats and controls
| Threat | Control |
|---|---|
| Spoofing / cache poisoning | DNSSEC validation, source-port randomisation |
| Malicious domains | DNS filtering, RPZ, protective DNS |
| Tunnelling / exfiltration | Query analytics, block direct outbound DNS |
| DDoS / amplification | Rate limiting, no open resolvers, anycast |
| Domain hijacking | Registrar lock, MFA on registrar accounts |
| Privacy | DoT/DoH to trusted resolvers |
ReferenceImportant terms & boundaries2 sections · depth on demand
Protective layers
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.
| Area | Control |
|---|---|
| Integrity | DNSSEC signing and validation |
| Privacy | DoT/DoH to trusted resolvers |
| Protective DNS | Filtering, RPZ, sinkholes |
| Detection | DNS logging, tunnelling and DGA detection |
| Infrastructure | No open resolvers, restricted zone transfers, registrar lock |
Force clients to use internal resolvers (block outbound DNS elsewhere) so protective controls cannot be bypassed.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%