π₯ 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¶
- Attacker sends a huge number of DNS queries
- DNS server resources get exhausted (CPU, memory, bandwidth)
- Server cannot process real user requests
- Requests time out
π₯ Types of DNS DoS Attacks¶
1. Direct Flood Attack¶
π Simple overload2. Distributed DoS (DDoS)¶
π Hard to block (many sources)3. Amplification Attack (Most Powerful)¶
π 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