Skip to content

πŸ’₯ 06-09: Denial-of-Service (DoS) Attacks on DNS

πŸ“Œ Definition

A Denial-of-Service (DoS) attack on DNS is an attack that overloads DNS servers with massive traffic, making them unable to respond to legitimate user requests.

πŸ‘‰ Users cannot resolve domain names
πŸ‘‰ Websites become unreachable

πŸ’₯ Internet services appear "down"


🧠 Basic Idea

Normal DNS flow:

User β†’ DNS query β†’ DNS server β†’ IP β†’ Website loads βœ…


During DoS attack:

Attacker β†’ floods DNS server with requests πŸš€
DNS server β†’ overloaded ❌
Legitimate users β†’ no response

πŸ’₯ Result: service disruption


βš™οΈ How Attack Works

  1. Attacker sends a huge number of DNS queries
  2. DNS server resources get exhausted (CPU, memory, bandwidth)
  3. Server cannot process real user requests
  4. Requests time out

πŸ”₯ Types of DNS DoS Attacks

1. Direct Flood Attack

Attacker β†’ DNS Server (millions of requests)
πŸ‘‰ Simple overload


2. Distributed DoS (DDoS)

Botnet (thousands of machines) β†’ DNS Server
πŸ‘‰ Hard to block (many sources)


3. Amplification Attack (Most Powerful)

Attacker β†’ Spoofed request β†’ Open DNS resolver
Resolver β†’ huge response β†’ Victim

πŸ‘‰ Small request β†’ large response
πŸ‘‰ Victim gets flooded

πŸ’₯ Example: DNS amplification using UDP


🚨 Why DNS is Vulnerable

  • Uses UDP (no connection setup)
  • No strong authentication
  • Easy to spoof source IP
  • Open resolvers amplify traffic

πŸ“Š Real-World Case Studies

πŸŸ₯ Root DNS Servers

  • Multiple DoS attacks targeted root servers
  • Could disrupt global DNS resolution

πŸŸ₯ August 25, 2013 (.cn Attack)

  • Attack on China’s top-level domain (.cn)
  • DNS servers went down for 2–4 hours
  • Large-scale internet disruption

πŸŸ₯ December 24, 2009 (UltraDNS)

  • DoS attack on UltraDNS provider
  • Affected thousands of online shoppers
  • Major e-commerce disruption

πŸŸ₯ October 21, 2016 (Dyn Attack)

  • Massive DDoS attack on Dyn DNS provider
  • Used IoT botnet (Mirai malware)

πŸ‘‰ Affected: - Amazon
- Twitter
- GitHub
- CNN
- Airbnb

πŸ’₯ Large parts of the internet went down


🎯 Impact

  • Websites become unreachable
  • Business losses πŸ’Έ
  • Service downtime
  • Global internet instability

πŸ›‘οΈ Defense Mechanisms

  • Rate limiting (limit requests per second)
  • Anycast DNS (distribute load globally)
  • DNS caching
  • Traffic filtering / firewalls
  • DDoS protection services (Cloudflare, Akamai)

🧠 Final Intuition

πŸ‘‰ DNS = "Internet phonebook"
πŸ‘‰ If DNS is down β†’ everything breaks

πŸ’₯ Attack DNS β†’ break the internet experience