DDoS attack
distributed denial of service
This text was analyzed, written and translated by artificial intelligence (AI). It may contain mistakes.How we use AI
An attack that floods a service with traffic from many machines at once until it stops answering. When the target is a DNS provider A company that runs the name servers for a domain, which may differ from the registrar. Full definition of DNS provider, a registry The central database and system of a top-level domain, or loosely the organization that runs it. Full definition of registry or the root server A server that answers for the DNS root zone and points to TLD servers. Full definition of root server, every domain that depends on it can become unreachable. anycast One server address served from many locations, so users reach the nearest copy. Full definition of anycast networks and spare capacity are the main defenses.
- category
- Security and abuse
A DDoS attack tries to stop an online service from working by flooding it with traffic from many machines at once. When the target is the DNS Domain Name System The internet's directory that links domain names to computer addresses. Full definition of DNS, the system that tells computers where a domain lives, websites and email can become unreachable even though they are still running. The DNS has survived large attacks mainly because its servers are spread across many networks and places.
What a denial-of-service attack is
RFC Request for Comments A numbered document in the series recording the internet's technical standards and practices. Full definition of RFC 4732, published by the Internet Architecture Board (IAB) in November 2006, describes a denial-of-service (DoS) attack as one in which machines try to stop a victim from doing useful work. The early internet was not designed with this threat in mind, so almost every service is vulnerable to a large enough attack.
The attack is distributed when many compromised computers, typically infected by a virus or worm, attack together. Such a group of remotely controlled machines is a botnet A network of infected computers controlled by an attacker. Full definition of botnet. Some attacks fill the victim’s network links; others exhaust a server’s memory, such as the SYN flood, a stream of connection-opening packets sent over the Transmission Control Protocol (TCP).
Why the DNS is a target
If a domain’s name server A server that holds a domain's DNS records and answers lookups. Full definition of name server cannot answer, the domain cannot be reached, even if its website works. One DNS provider or registry answers for many domains, so one attack can take many offline at once. DNS queries usually travel over the User Datagram Protocol (UDP), where a sender’s address is easy to forge.
Registries also have contractual targets. As of October 2026, Specification 10 of ICANN Internet Corporation for Assigned Names and Numbers The nonprofit that coordinates the global DNS and gTLD policy. Full definition of ICANN’s Registry Agreement The contract between ICANN and a gTLD registry operator. Full definition of Registry Agreement for gTLD generic top-level domain A top-level domain not tied to a country, run under ICANN contracts. Full definition of gTLD (version of 21 January 2024) requires DNS service to be available 100% of the time each month, and allows each name server no more than 432 minutes of downtime a month. After 4 hours of total DNS downtime in a week, ICANN may designate an emergency interim registry operator The organization that holds the contract or mandate for a TLD and sets its rules. Full definition of registry operator, which the agreement calls an “Emergency Operator”. The agreement sets outcomes, not methods of defense.
How DNS amplification works
DNS amplification A DDoS attack that uses DNS servers to bounce and enlarge traffic toward a victim. Full definition of DNS amplification turns other people’s servers against a victim:
- The attacker controls a botnet.
- Its machines send small DNS queries with the victim’s address forged as the sender.
- Open resolver The DNS server that looks up domain names on behalf of users. Full definition of resolver, which answer anyone, send their answers to that address. authoritative server A DNS server that gives the official answers for a domain or zone. Full definition of authoritative server can be abused too, with much less amplification.
- The answers are far larger than the queries, and the victim’s connection fills up.
Answers are largest for queries of type ANY and for answers carrying EDNS Extension Mechanisms for DNS An extension that lets DNS messages be larger and carry extra options. Full definition of EDNS data or RRSIG Resource Record Signature The DNS record that carries a DNSSEC signature for a set of records. Full definition of RRSIG. RFC 5358 (October 2008) gave an example factor of around 80 for an open resolver supporting EDNS. The servers that bounce the traffic usually belong to innocent third parties, who rarely notice.
For example, an attacker sends thousands of small queries for a large record under example.com to open resolvers, each forged to look as if it came from a server at example.net. Every answer lands on example.net, which never asked.
Famous attacks on the DNS
- 21 October 2002: an attack of about 75 minutes targeted all 13 root servers and swamped nine of them. The operators knew of no errors visible to users.
- February 2006: amplification attacks hit a top-level domain’s name servers on 5 February and again on 7 and 8 February. The attack packets were larger than 512 bytes, so the operator dropped DNS packets above that size. SSAC Security and Stability Advisory Committee ICANN's expert committee on security and stability of naming and addressing. Full definition of SSAC described the attacks in its advisory SAC008 (March 2006).
- 6 February 2007: two waves hit six of the 13 root servers. The two worst affected were the two without anycast. ICANN reported very limited impact on users, and an unclear origin because addresses may have been forged.
- 30 November and 1 December 2015: up to about 5 million queries per second reached each affected root server identity. The operators knew of no errors visible to users.
- 25 June 2016: a SYN flood hit all 13 identities, at about 17 gigabits per second each.
After the 2015 attack, the operators said the system functioned as designed: the DNS copes when some of its servers are unreachable.
How registries and DNS operators defend themselves
ICANN’s 2007 factsheet names two approaches: absorb the attack with extra bandwidth and servers, or find patterns in the traffic and filter it. Operators combine several tools:
- Anycast. RFC 4786 (December 2006) explains that each location absorbs attack traffic from its own region, so the work is shared.
- Response rate limiting on authoritative servers.
- Minimal answers to ANY queries, which RFC 8482 (January 2019) allows.
Much depends on other networks. RFC 2827, Best Current Practice (BCP) 38 of May 2000, asks networks to filter packets with forged source addresses at their edge. RFC 5358 asks resolver operators to serve only their intended clients. SSAC’s advisory SAC065 of 18 February 2014 repeats both points and adds keeping DNS software updated. SSAC can advise, but cannot regulate or enforce.
What domain owners can do
- Use several name servers in different networks and places. RFC 2182 (July 1997) recommends three for most organizations’ zones, with at least one well removed from the others. As of October 2026, a .es name needs at least two, or one plus the registry’s own secondary server.
- Consider anycast, which large operators combine with several name servers.
- Weigh the TTL Time to Live How long resolvers may keep a saved copy of a DNS record. Full definition of TTL. RFC 9199 notes that longer TTLs let saved answers outlast an attack; very short ones only matter if the plan is to redirect traffic to a filtering service through the DNS.
- Do not run an open resolver, and keep DNS software updated.
None of this guarantees availability; the DNS provider or registrar A company that registers domain names for customers with the registry. Full definition of registrar can explain what a given setup offers.
DDoS and DNS abuse
ICANN’s gTLD contracts define DNS abuse Harmful use of domains, defined in ICANN contracts as five specific threats. Full definition of DNS abuse as malware Harmful software, often spread or controlled using domain names. Full definition of malware, botnets, phishing Impersonating a trusted party to steal data, often with look-alike domains. Full definition of phishing, pharming Redirecting users to fake sites even when they type the right domain. Full definition of pharming and spam Unwanted bulk messages, which count as DNS abuse only when used to deliver other abuse. Full definition of spam used to deliver them. A DDoS on DNS infrastructure is an attack on availability, not a misuse of a registered domain, and is not on that list.
Sources
- RFC 4732: Internet Denial-of-Service Considerations, opens another website in a new tab
- RFC 5358 (BCP 140): Preventing Use of Recursive Nameservers in Reflector Attacks, opens another website in a new tab
- SSAC Advisory on DDoS Attacks Leveraging DNS Infrastructure (SAC065), opens another website in a new tab
- Factsheet: Root server attack on 6 February 2007, opens another website in a new tab
- RFC 9199: Considerations for Large Authoritative DNS Server Operators, opens another website in a new tab
- Base Registry Agreement - Approved 21 January 2024, opens another website in a new tab