A dns forwarding query method

A technology of DNS query and query method, applied in the direction of transmission system, electrical components, etc., can solve the problems of unable to meet the requirements of high-performance DNS server, limit the number of sockets, limit the number of forwarding queries per second, etc., to improve DNS forwarding performance and take into account Safety, the effect of reducing system call overhead

Active Publication Date: 2019-05-17
CHINA INTERNET NETWORK INFORMATION CENTER
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Traditional DNS analysis software, in order to ensure the randomness of the forwarding port, its forwarding performance has been limited, only between a few thousand to 10,000 QPS, which can no longer meet the needs of high-performance DNS servers
In order to ensure the randomness of the forwarding port, the traditional method needs to re-establish the socket for each DNS query. This method has the following two obvious shortcomings: 1. The system limits the process file descriptor resources, which limits the number of sockets created per unit time. Greatly limit the number of forwarded queries per second
2. The time overhead of the system call used to create the socket also greatly reduces the forwarding performance

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 forwarding query method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0027] The present invention proposes a DNS forwarding query method, which comprises the following steps:

[0028] Step 101, system initialization;

[0029] Step 103, establishing n socket resource groups, each group has N socket resources, and both n and N are natural numbers;

[0030] Step 105, the n resource groups perform DNS forwarding query in rotation at a period T.

[0031] Wherein, each set of socket resource groups has ...

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 present invention proposes a DNS forwarding query method, which includes the following steps: step 101, system initialization; step 103, setting up n socket resource groups, each group has N socket resources; step 105, the n resources The group rotates at a period T for DNS forwarding queries. The present invention reduces the number of system socket descriptors used per unit time by making multiple queries reuse the same socket for forwarding, so that under the limitation of system process file descriptor resources, more queries can be forwarded; The system call overhead brought by the socket improves the DNS forwarding efficiency.

Description

technical field [0001] The invention relates to the DNS field, in particular to a DNS forwarding query method. Background technique [0002] DNS (Domain Name System, Domain Name System), a distributed database on the Internet as a mapping between domain names and IP addresses, enables users to access the Internet more conveniently, without having to remember IP numbers that can be directly read by machines. The process of finally obtaining the IP address corresponding to the host name through the host name is called domain name resolution (or host name resolution). [0003] The forwarding function is one of the important functions of DNS to realize query. The forwarding server will directly forward the DNS query to the downstream recursive server according to the specified forwarding strategy. After the recursive server completes the DNS recursive query, it will return the query result to the forwarding server, and the forwarding server will process the query result in orde...

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): H04L29/12
CPCH04L61/4511H04L61/00
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