Method and device and system of domain name server (DNS) for buffering updating

A technology of DNS server and update method, which is applied in the direction of transmission system, electrical components, etc., and can solve the problems of DNS system’s slow response to query requests and increased response delay

Active Publication Date: 2013-03-20
SHANGHAI YAMU COMMUNICATION TECHNOLOGY CO LTD
View PDF5 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a DNS server cache update method, device, and system to solve the problem of TTL corresponding to the mapping relationship between the website domain name and the IP addres

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
  • Method and device and system of domain name server (DNS) for buffering updating
  • Method and device and system of domain name server (DNS) for buffering updating
  • Method and device and system of domain name server (DNS) for buffering updating

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] Such as figure 1 As shown, it is a flow chart of the cache update method of the DNS server provided by the embodiment of the present invention, which specifically includes the following steps:

[0029] Step 101: Determine the type of any response message stored in the DNS server, and execute step 102.

[0030] The reply message is a message returned by the back-end DNS server of the DNS server for the domain name query request, which includes the domain name.

[0031] Generally, the types of response packets mainly include the following three types:

[0032] The first type: NOERROR, or SUCESS, is the response message returned when the domain name query is successful.

[0033] The second type: SERFAIL, or FAILURE, is a response message returned in the case of domain name query failure, including a response message returned in the case of query timeout.

[0034] The third type: NXDOMAIN, is a response message returned to the inquired domain name that does not exist.

...

Embodiment 2

[0061] In order to further illustrate the solution of Embodiment 1 of the present invention, Embodiment 2 of the present invention utilizes such as figure 2 The shown time axis illustrates the processing process of the domain name query request of the client by the DNS server implementing the solution of Embodiment 1 of the present invention.

[0062] Assuming that the DNS server has already cached the response message corresponding to a certain domain name, in figure 2 Among them, S1 indicates the start time of the pre-update of the domain name, and S2 indicates the cache expiration time of the domain name;

[0063] If the client sends a domain name query request for the domain name to the DNS server before time S1, the DNS server sends the cached response message to the client;

[0064] If the client sends a domain name query request for the domain name to the DNS server after time S1 and before S2, and the query request for the domain name is received by the DNS server f...

Embodiment 3

[0070] Based on the same inventive ideas as those in Embodiment 1 and Embodiment 2, Embodiment 3 of the present invention provides a cache update device for a DNS server, such as image 3 shown.

[0071] image 3 A schematic structural diagram of a DNS server cache update device provided in Embodiment 3 of the present invention, specifically including:

[0072] Cache effective duration determination module 201, for any response message stored in the DNS server, determine the effective duration of the cache corresponding to the response message when the response message is started to be cached, and the response message is the DNS server's later The message returned by the end DNS server for the domain name query request, which contains the domain name;

[0073] A message storage duration determination module 202, configured to determine the length of time that the response message has been currently stored by the DNS server;

[0074] The first judging module 203 is used to j...

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 discloses a method, device and system of a domain name server (DNS) for buffering updating. The method and device and system of the DNS for buffering updating comprise main contents as following: Regarding to any of echo reply message reserved in the DNS, effective buffering time which is corresponding to the echo reply message is confirmed when the echo reply message starts to be buffered. Time duration that the echo reply message is currently reserved in the DNS is confirmed, when the difference between the effective buffering time and the time duration is greater than zero and less than a preset updating duration, and a process that the echo reply message is updated is carried out. Due to the fact that echo reply message buffering is updated before expiration, the problems that due to the fact that the echo reply message buffering is not updated because of the expiration and a large number of domain name queries have a request to get to a back-end DNS to carry out recurrent iteration queries, the DNS system has a low-speed response to the request of the domain name queries and response delay is larger are effectively avoided.

Description

technical field [0001] The present invention relates to the field of IP (Internet Protocol, Internet Protocol) network, and in particular to a cache update method, device and system of a DNS server. Background technique [0002] In the IP network, the Domain Name System (DNS) is one of the most critical basic services of the Internet, providing fundamental support for many network applications. It maps domain names and IP addresses to enable people to access the Internet conveniently. Instead of having to memorize complex IP addresses. Through the DNS query service, you can find the entrance of the required site or resource, and then access the site or resource. [0003] At present, the widely used DNS is built on the traditional BIND software. BIND provides the open implementation of the main functions of DNS, including: domain name server (named), DNS resolution library functions, and tools required for running and debugging the domain name server. The query cache module...

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): H04L29/12
Inventor 张大顺
Owner SHANGHAI YAMU COMMUNICATION TECHNOLOGY CO LTD
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