Local DNS Server NS Record Optimization via Probing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Manual division of region records for authoritative DNS servers results in low accuracy and efficiency in domain name resolution, as it heavily relies on human experience.
Innovation Solution
A method and system that uses a scheduling cluster to probe communication quality of egress IP addresses through distributed probes, aggregating results to dynamically adjust and optimize the NS record for local DNS servers, ensuring better communication quality by selecting the best authoritative DNS server based on real-time network conditions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If manual division of NS records is used, then the system is simple to operate, but the accuracy of region division and efficiency of domain name resolution deteriorate
Solution Approach 1:
The system enables automatic region division through probes that autonomously test communication quality between DNS servers and authoritative DNS servers. The probes self-organize the region division based on actual network conditions without manual intervention, achieving both high accuracy and automated operation.
Solution Approach 2:
The system implements feedback mechanisms where probes continuously test communication quality and report results to the scheduling system. Based on this feedback, the system dynamically adjusts NS record assignments to optimize domain name resolution efficiency while maintaining accurate region division.
2Productivity
If manual division of NS records is used, then the system is easy to implement, but the efficiency of domain name resolution deteriorates
Solution Approach 1:
The system transitions from static manual region division to dynamic automated division. The scheduling system continuously adapts region assignments based on real-time network conditions detected by probes, maximizing domain name resolution efficiency while the automated nature simplifies implementation compared to manual processes.
Solution Approach 2:
The system changes the parameter of region division from fixed manual assignments to dynamic automated assignments based on communication quality metrics. This parameter change enables the system to adapt to network conditions, improving efficiency while the automated parameter adjustment simplifies the implementation process.
3Measurement precision
If automated probing is implemented, then the accuracy of region division improves, but the system complexity increases
Solution Approach 1:
The system segments the complex probing function into independent probe units that can be distributed across multiple locations. Each probe independently tests communication quality with authoritative DNS servers, and results are aggregated by the scheduling system. This segmentation reduces individual component complexity while maintaining high measurement accuracy.
Data Source
Figure 1~2
Figure 3
AI summary
The present disclosure provides a method and system for domain name resolution. The method is applied to a local DNS server, including: sending a query request to a scheduling system to probe the egress IP address of the local DNS server through a probe, wherein the query request includes an egress IP address of the local DNS server; and receiving server setting information fed back by an analysis system according to a probing result, wherein the server setting information includes an authoritative DNS server set for the local DNS server; wherein, in response to the authoritative DNS server in the server setting information being inconsistent with an authoritative DNS server currently used by the local DNS server, the local DNS server replaces the authoritative DNS server currently used with the authoritative DNS server in the server setting information.