DNS (Domain Name System) server automated testing method and system

A DNS server and automated testing technology, applied in the information field, can solve problems such as difficult to simulate recursive services, test quality cannot be guaranteed, and test efficiency is reduced, so as to improve test control precision and accuracy, reduce automated test skill requirements, and improve test performance. efficiency effect

Active Publication Date: 2017-04-19
CHINA INTERNET NETWORK INFORMATION CENTER
View PDF5 Cites 19 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. C

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
  • DNS (Domain Name System) server automated testing method and system
  • DNS (Domain Name System) 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 (Domain Name System) server automated testing method and system. The method comprises the steps of 1) specifying an IP and a port of a server under test and a reference server through a general control configuration file, and selecting query packet configuration items and test function options to be enabled; 2) successively executing starting programs of corresponding test functions according to the selected test function options; 3) executing a test case according to testing procedures of each test function, and comparing an execution result with an expected result and/or an execution result of the reference server; 4) recording execution conditions of the test case of each test function, wherein the execution conditions include the total number of abnormally executed cases and serial numbers and serial numbers of the abnormally executed cases; and 5) performing statistics on the test conditions and generating a test report after the test cases of the test functions are completely executed. The DNS server automated testing method and system can save the cost of manual testing, reduce the risk of human errors, and realize quick and reliable automated testing for a 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
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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products