What is DNS cache poisoning and how is it mitigated?
AdvancedConceptDNS
Answer
An attacker races to inject a forged answer into a resolver's cache so users are sent to a malicious IP. Defenses: randomized source ports and transaction IDs, 0x20 case randomization, DNSSEC validation, and limiting open resolvers.
Operationally, never expose a recursive resolver to the internet and keep resolver software patched.
More on DNS
What does DNS do and what happens when you type a URL into a browser?BeginnerWhat are the common DNS record types?BeginnerWhat is the difference between a recursive resolver and an authoritative server?IntermediateExplain the DNS resolution chain step by step with dig.IntermediateWhat is TTL in DNS and how does it affect changes?BeginnerWhat is negative caching in DNS?Intermediate