DNS Security Fundamentals
Cheat sheet · https://pcornel.dk/topic.php?topic=4792
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.
Remember
- Threats: spoofing, poisoning, tunneling, amplification, hijacking.
- Controls: DNSSEC, restricted recursion, filtering, encrypted DNS, logging.
- Registrar and zone access must be protected too.
First checks
dig <domain> +short— resolution- Outbound port 53 firewall rules — only resolvers allowed
- Resolver logs — queries recorded
Verify in this order
client → internal resolver → internet DNS
Where it usually breaks
First mismatch in endpoint/identity → path/reachability → policy selection → enforcement/session → protected flow → telemetry/detection; preserve identity/policy/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4792