Edge DNS Caching Negative Responses DDoS Mitigation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Edge-Origin DNS architectures face challenges in handling large-scale DDoS attacks due to overloading of origin servers with negative responses and wildcard DNS records, which are not cached at edge servers, leading to potential system unavailability.
Innovation Solution
Implementing a DNS edge application that caches responses from origin servers, allowing edge servers to generate 'no data', NXDOMAIN, or REFUSED responses without forwarding queries to the origin, thereby reducing the load on the origin servers during DDoS attacks.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If negative responses and wildcard DNS records are not cached at the Edge, then the Origin server can provide accurate responses, but the Origin server becomes overloaded during DDoS attacks
Solution Approach 1:
The patent applies preliminary action by pre-caching negative responses and wildcard DNS records at the Edge server before they are needed. When the Origin server determines that certain DNS queries will result in negative responses or wildcard matches, it proactively pushes these responses to the Edge cache, so they are ready for immediate serving without requiring Origin involvement during attack traffic
Solution Approach 2:
The patent introduces an intermediary mechanism where the Edge server acts as a mediator between client queries and the Origin server. By caching negative responses and wildcard records at the Edge, the system creates an intermediate layer that can satisfy certain queries without forwarding them to the Origin, thereby protecting the Origin from overload while maintaining response accuracy
2Reliability
If all DNS queries are forwarded to the Origin server, then accurate DNS records can be retrieved, but the system becomes vulnerable to DDoS attacks
Solution Approach 1:
The patent applies segmentation by dividing the DNS query handling responsibilities between the Edge server and the Origin server. The Edge server handles caching of negative responses and wildcard records, while the Origin server focuses on providing authoritative DNS records. This segmentation allows the Edge to absorb and filter out malicious traffic targeting negative responses, protecting the Origin from DDoS attacks
Solution Approach 2:
The patent converts the harmful effect of DDoS attacks into a benefit by using the attack traffic pattern itself to trigger cache population. During normal operation, the Origin server identifies which queries will result in negative responses and pre-caches them at the Edge. When a DDoS attack occurs with similar traffic patterns, the pre-populated cache at the Edge absorbs the attack traffic, turning the potential harm into a protective benefit
Data Source
AI summary
In one example, an edge server including a processor, memory, and a domain name system (DNS) edge application stored in the memory and executed by the processor is provided. The DNS edge application is configured to: receive a first DNS query requesting a first DNS record; forward the first DNS query to an origin server; receive a response to the first DNS query from the origin server; store the response on the edge server; receive a second DNS query requesting a second DNS record; determine that the second DNS record is not stored on the edge server; and generate a new response to the second DNS query based on the stored response. The first DNS query and the second DNS query may be the same DNS query, and the second DNS query is not forwarded to the origin server.


