DNS Amplification Attacks Explained
A DNS amplification attack turns small queries into massive floods: the attacker sends a 60-byte query to an open DNS resolver, which responds with a 4000-byte answer directed at the victim. The amplification factor can exceed 50x.
Amplification factors by record type
| Record | Amplification potential | Abuse context |
|---|---|---|
| ANY queries | Highest | Blocked by most modern resolvers |
| DNSSEC-signed zones | High | Large signed answers multiply traffic |
| OPEN resolvers | Force multiplier | The real problem: lock recursion to your network |
How it works
- The attacker spoofs the victim’s IP as the source of a DNS query.
- The query asks for a large response (ANY type, or a DNSSEC-signed zone with big records).
- The open resolver sends the large response to the victim’s (spoofed) IP.
- Thousands of resolvers respond simultaneously: the victim’s bandwidth is overwhelmed.
What makes a resolver 'open'
A resolver that answers queries from any source IP (not just its own customers) is open. Malicious actors scan the internet for open resolvers and compile lists for attacks. If you run your own DNS server, recursion must be restricted to your own network.
Preventing your server from being weaponized
- Disable recursion for non-local clients (BIND:
allow-recursion { localhost; };). - Do not respond to ANY queries (drop or return NOTIMP).
- Use response rate limiting (RRL) to throttle identical responses.
- If you use managed DNS (Cloudflare, Route 53), this is handled for you.
Frequently asked questions
Am I responsible if my resolver is used in an attack?+
Potentially, yes: operators of open resolvers used in DDoS attacks can face legal pressure and blocklisting. Close the recursion or face the consequences.
What is the amplification factor?+
The ratio of response size to query size. DNSSEC-signed zones with large keys can amplify 50x or more, making them preferred weapons.
Does DNSSEC make amplification worse?+
Yes, larger signed responses amplify more. But the answer is rate limiting and response filtering, not abandoning DNSSEC.
Can Cloudflare or Route 53 be used for amplification?+
No: they restrict recursion to customers and implement response rate limiting at global scale.
How do I test if my resolver is open?+
Use an open resolver scanner (like the Shadowserver Foundation’s) or try querying it from an external network.
Does this affect my website?+
Only if you self-host DNS. If you use a managed provider, this is their problem, not yours.
Related DNS Security Guides
Explore related DNS attack vectors and cryptographic defenses:
Related
Last verified: 2026-11-28