Insights

DNS amplification attacks: How the flood works and what to look for

A DNS amplification attack floods a target with large, unsolicited replies. A surge of replies with no matching queries is a clue, not proof.

Illustration of fire hose nozzle with sideways torrent.
On this page

A Domain Name System (DNS) amplification attack is a type of distributed denial-of-service (DDoS) attack. DNS servers send replies to a target that didn't request them because the queries carry the target's forged return address. The replies are larger than the queries, so the flood can fill the target's network link and slow or block access to its services.

In short:

  • Larger replies. DNS servers send more bytes to the target than the original queries contain.
  • Unmatched replies. A surge of replies without matching outbound queries points to possible reflection.
  • Separate privacy checks. Encrypting your lookups doesn't keep reflected replies off your network link.

How a small query becomes a big flood

Reflection is about where the traffic goes: DNS servers act as intermediaries and send replies to the target instead of the original sender. Amplification is about how much traffic arrives: the replies contain more bytes than the queries that prompted them. When you assess the load on your link, look at how many reply bytes arrive over time, not just how many replies you see.

Why DNS replies go to the wrong address

Ordinary DNS over User Datagram Protocol (UDP) can reply to the source Internet Protocol (IP) address on a query without first checking whether the sender can receive traffic there. With a forged source address, the reply goes to the target address in the query rather than to the original sender.

A recursive resolver looks up answers for clients. Open recursive resolvers accept queries from anyone, which makes them common reflectors. A public authoritative server answers for the domains it serves, so it can also reflect and amplify traffic with recursion turned off.

What to look for in your traffic records

  1. Look for a surge in inbound DNS replies. Use inbound reply records and outbound query records from the same network boundary and time window.
  2. Check whether the replies match outbound queries. If many don't match and your records cover both directions well, the pattern fits reflection and is worth investigating. If the replies match, this check doesn't point to reflection. If your outbound records are incomplete, get better coverage before calling the replies unsolicited.
  3. Read the source addresses as responder addresses. They identify the DNS servers that answered, not who sent the forged queries or whether the servers offer recursion. Keep known authoritative servers in scope even if recursion is off. A surge of unmatched replies is a clue, not proof of an attack or the cause of an outage.

Why encrypted lookups don't stop a flood

Encrypting your DNS lookups protects your exchange with the resolver in transit. It doesn't stop other servers from sending unsolicited replies to your network link.

For lookup privacy, check which protocol your device uses. DNS over Transport Layer Security (TLS) encrypts the exchange, but selecting a resolver by its IP address doesn't turn encryption on. For flood symptoms, check the traffic at your network boundary separately.

Where doxx.net fits. doxx.net encrypts DNS lookups and blocks unwanted domains. If you want those controls on a private network, you can create an account, download the app and connect a device.

Ask an AI assistant

Share this article

Private Everywhere

Stop giving the internet everything

Keep your browsing, messages, files, and agents private.