DNS Amplification DDoS: How It Works and How It's Mitigated

DNS amplification doesn't attack DNS itself — it uses DNS as an unwitting megaphone, pointed at whoever the attacker chooses.

What DNS Amplification Is

In a reflection attack, an attacker sends a query to an open DNS resolver with the source address spoofed to the victim's IP. The resolver, following the protocol correctly, sends its response to that spoofed address — the victim — rather than to the attacker.

Why DNS Specifically

A small query — an ANY query, or one that triggers a DNSSEC-signed response — can produce a reply many times larger than the request that caused it. That multiplication means the attacker's own bandwidth is amplified by that factor at the victim's expense, which is exactly why DNS, alongside NTP and memcached historically, is a favorite reflection vector.

The Role of Open Resolvers

An open resolver answers recursive queries from anyone on the internet, not just clients on its own network. A resolver restricted to its own address space can't be abused as a reflector this way, since spoofed traffic claiming to be an arbitrary victim was never going to reach it from outside in the first place.

Standard Mitigations

  • Response Rate Limiting (RRL) on authoritative servers, which throttles repeated identical responses sent toward the same apparent source
  • Disabling open recursion on any resolver not specifically meant to serve the public internet
  • BCP38 source-address filtering at the network edge, which stops spoofed-source packets from leaving a network at all — addressing the root cause rather than a downstream symptom

How PixDNS Fits In

PixDNS's own lookups query a fixed, small whitelist of major public resolvers on the user's behalf — it doesn't run an open recursive resolver of its own that arbitrary internet traffic could query or abuse as a reflector.

Look Up a Domain's DNS