Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

DNS Security Fundamentals

Direct answer

DNS security fundamentals: DNS was built without authentication, so it can be spoofed, poisoned, tunneled and abused for DDoS. Protect it with DNSSEC, restricted recursion, encrypted transport, filtering and logging.

When to use this

Use this to understand DNS threats and the controls against them.

First 30 seconds

1. DNS is foundational and often abused.

2. Use internal resolvers; block direct outbound DNS.

3. Log queries for investigations.

4. DNSSEC validation.

5. Consider DoH/DoT controls.

Operational verification

client → internal resolver → internet DNS

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
Key commanddig +dnssec example.com SOA
Scope / prerequisiteUse this to understand DNS threats and the controls against them.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

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

2 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 Checks Verify boundary
dig +dnssec example.com SOA          # look for the ad flag via a validating resolver
dig @ns1.example.com example.com AXFR  # should be refused
dig @<your-dns> example.org +short      # from outside: open resolver?

Zone transfers should be limited to secondaries, and resolvers should only answer your own networks.

Step 2 Common mistakes Narrow the fault
  • Treating DNS as only an availability service, not a security control.
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
Key points
  • Threats: spoofing, poisoning, tunneling, amplification, hijacking.
  • Controls: DNSSEC, restricted recursion, filtering, encrypted DNS, logging.
  • Registrar and zone access must be protected too.
Key checks
  • dig <domain> +short — resolution
  • Outbound port 53 firewall rules — only resolvers allowed
  • Resolver logs — queries recorded
ReferenceWhy it matters1 section · depth on demand

Baseline

  • Clients use only internal or approved resolvers; block outbound UDP/TCP 53 and known DoH endpoints elsewhere.
  • Recursive resolvers validate DNSSEC and use filtering/RPZ.
  • Authoritative servers do not recurse; zone transfers restricted to secondaries (TSIG).
  • Log queries centrally for investigations.
  • Registrar account protected with MFA and registry lock for key domains.
ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

DNS security fundamentals: DNS was designed without authentication or encryption, so answers can be forged, queries observed, and the protocol abused for tunnelling and amplification attacks. At the same time, DNS is a powerful defensive control point because almost every connection begins with a lookup.

ThreatControl
Forged answers / cache poisoningDNSSEC validation, randomisation
EavesdroppingDoT/DoH to trusted resolvers
Malware C2 and phishing domainsProtective DNS, RPZ
DNS tunnelling / exfiltrationMonitoring, forced internal resolvers
Domain hijackingRegistrar lock, MFA on registrar/DNS accounts
Amplification DDoSNo open resolvers, response rate limiting
Zone data leakageRestrict zone transfers

Record hygiene

  • Remove records for retired services, especially CNAMEs to cloud hosts.
  • Use CAA records to limit which CAs may issue certificates (example.com CAA 0 issue "letsencrypt.org").
  • Keep TTLs sensible: short before planned changes, longer otherwise.
  • Separate internal and external zones (split DNS) without leaking internal names.
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 → DNS Security Fundamentals. 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?