Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A dns server automated testing method and system

A DNS server and automated testing technology, applied in the information field, can solve the problems of difficulty in simulating recursive services, unguaranteed test quality, and high error rate of manual inspection, so as to improve the accuracy and accuracy of test control, reduce the requirements for automated testing skills, and avoid Effects of configuration errors

Active Publication Date: 2019-07-19
CHINA INTERNET NETWORK INFORMATION CENTER
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] a. For the authoritative server, the conventional query test cannot fully test the query feedback of various abnormal situations; for the recursive server, it is also difficult to simulate various abnormal situations of the recursive service's outbound query results;
[0005] b. For the test of the zone loading function, the conventional test can only sample a small amount of zone data and use the DNS query tool to verify whether the data is loaded successfully, resulting in incomplete test samples, low use case coverage, and poor test results. Convincing Insufficient strength;
[0006] c. The logic of the DNS resolution function is complex, including TCP / UDP query, DNSSEC / non-DNSSEC query, processing logic of various resource record types, etc. To cover all business processes, conventional test methods need to be executed one by one, which greatly reduces test efficiency. Increased testing costs;
[0007] d. The verification of various response messages of the DNS server to be tested involves a lot of content, the manual inspection has a high error rate, and the test quality cannot be guaranteed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A dns server automated testing method and system
  • A dns server automated testing method and system
  • A dns server automated testing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to make the above objects, features and advantages of the present invention more obvious and understandable, the present invention will be further described below through specific embodiments and accompanying drawings.

[0052] The system that the present invention proposes can carry out automatic test to DNS server, such as figure 1 As shown, the following modules or subsystems are included.

[0053]1) The configuration management module is responsible for reading and analyzing the content of the master control configuration file, and obtains the IP and port of the DNS server to be tested, the IP and port of the reference DNS server, the list of auxiliary servers, and the function options of the test through the master control configuration file ( Including service start and stop, area loading, query, area transfer, exception test, etc.), query mode options (including TCP\UDP, DNSSEC\non-DNSSEC, EDNS0\non-EDNS0 and other query configurations) and other configu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a DNS server automatic testing method and system. The method comprises: 1) specifying the IP and port of the server to be tested and the reference server through the master control configuration file, and selecting the query packet configuration item and the test function option to be enabled; 2) performing corresponding tests in sequence according to the selected test function option Function start-up procedure; 3) Execute the test case according to the test process of each test function, and compare the execution result with the expected result and / or the execution result of the reference server; 4) Record the execution of the test case of each test function, including The total number of abnormally executed use cases and the number of use cases; 5) After all the test cases of each test function have been executed, the test situation is counted and a test report is generated. The invention can save the cost of manual testing, reduce the risk of human error, and realize fast and reliable automatic testing of the DNS server.

Description

technical field [0001] The invention belongs to the field of information technology, and in particular relates to a DNS server automatic testing method and system. Background technique [0002] DNS (Domain Name System, Domain Name System) is one of the foundations of the entire Internet service. This service converts the Internet domain names accessed by users into IP addresses, making it easier for users to access the Internet. DNS servers are generally divided into authoritative servers and recursive servers. Common functions include zone data loading, query resolution, zone transfer, and data packet forwarding. [0003] At present, the testing methods for DNS servers are relatively simple, generally simulating DNS clients sending query requests to recursive or authoritative servers, and analyzing and verifying the correctness of the content of response messages one by one. For functions other than query parsing, manual observation and The way of log analysis. Such test...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/26H04L12/24H04L29/12
CPCH04L41/145H04L43/065H04L43/50H04L61/4511
Inventor 李晓东李洪涛刘冰肖建芳王骞
Owner CHINA INTERNET NETWORK INFORMATION CENTER
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products