Authoritative DNS Resolution via Hosted Zone Mapping
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing domain name resolution methods in Content Delivery Networks (CDNs) involve multiple iterative queries between the Local DNS and the authoritative DNS, leading to increased response delays and network overhead.
Innovation Solution
A domain name resolution method that receives a domain name to be resolved from a Local DNS, determines a target hosted zone based on the domain name suffix, matches the domain name with sub-domain names in the target zone, and feeds back the resolution result to the Local DNS, reducing the need for iterative queries.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If multiple iterative queries are performed between Local DNS and authoritative DNS for domain name resolution, then resolution accuracy is improved, but response delay increases
Solution Approach 1:
The patent pre-establishes a mapping relationship between domain name suffixes and hosted zones in the authoritative DNS. When a resolution request arrives, the system directly determines the target hosted zone based on the suffix without iterative queries, achieving both accuracy and speed
2Loss of information
If multiple iterative queries are performed between Local DNS and authoritative DNS, then complete resolution information is obtained, but network overhead increases
Solution Approach 1:
The patent pre-configures all sub-domain name mappings within each hosted zone. The authoritative DNS returns complete resolution information in a single response, eliminating the need for multiple round-trip queries and reducing network overhead
3Reliability
If traditional domain name resolution method is used with iterative queries, then resolution completeness is ensured, but query efficiency decreases
Solution Approach 1:
The patent pre-establishes comprehensive mapping relationships between domain names and hosted zones, and between sub-domain names and IP addresses within zones. This allows single-query resolution that maintains completeness while dramatically improving efficiency
Solution Approach 2:
The patent extracts and utilizes the domain name suffix as a key to directly identify the target hosted zone, eliminating the iterative query process while ensuring complete resolution information is returned
Data Source
AI summary
The present disclosure provides a domain name resolution method, apparatus, device, and medium based on a content delivery network. The domain name resolution method, applicable to an authoritative domain name system, comprises: receiving a domain name to be resolved transmitted by a local domain name system; determining a target hosted zone based on a domain name suffix of the domain name to be resolved, wherein a plurality of first sub-domain names are recorded in the target hosted zone; matching the domain name to be resolved with the plurality of first sub-domain names, and determining a first sub-domain name that matches the domain name to be resolved; determining a resolution result of the domain name to be resolved based on the first sub-domain name that matches the domain name to be resolved, and feeding back the resolution result to the local domain name system, wherein the local domain name system is configured to transmit the resolution result to a client.


