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

A domain name resolution method and system based on dns cache residency

A domain name resolution system and domain name resolution technology are applied in the field of domain name resolution methods and systems based on DNS cache residency, which can solve problems such as the deterioration of authoritative server and recursive server failures, the failure of domain name resolution to resolve normally, and the inability of users to surf the Internet normally. Good technical effect, the effect of improving the speed

Active Publication Date: 2019-05-07
BEIJING RUNSTONE TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] With this traditional caching strategy, when the resolution of the authoritative server or the upper-level recursive server is abnormal, the original record has been deleted when the TTL of the domain name expires, and the request of the domain name to the authoritative domain name server or the recursive server cannot obtain normal resolution results. , then the resolution of the domain name cannot be resolved normally, and it will be reflected on the user side, causing the user to be unable to access the Internet normally.
In this case, a large number of recursive requests for this domain name will definitely affect the domain name resolution performance of the authoritative server and recursive server, and even lead to further deterioration of the failure of the authoritative server and recursive server

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 domain name resolution method and system based on dns cache residency
  • A domain name resolution method and system based on dns cache residency
  • A domain name resolution method and system based on dns cache residency

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] Such as figure 1 As shown, a domain name resolution method based on DNS cache residency, including:

[0047] Receive a resolution request for a domain name initiated by a user;

[0048] Query whether the resolution result of the domain name is cached in the cache server and whether the TTL has expired;

[0049] If the resolution result of the domain name has been cached in the cache of the current cache server, and the TTL has not expired, the cache server returns a response directly to the user.

[0050]After the present invention adopts the above scheme, the DNS cache based on the cache server not only improves the resolution speed, but also when the authoritative server or recursive server resolves abnormally, the cache server can keep the cache and wait for the authoritative server or recursive server to resolve normally. The record of the domain name is updated from time to time, which has a good technical effect.

Embodiment 2

[0052] The present invention will be further described in conjunction with the following embodiments. Specifically, it is preferred that there is no resolution result of the domain name in the cache of the current cache server;

[0053] The cache server transparently transmits the request and sends it to the recursive server or authoritative server;

[0054] The recursive server or authoritative server resolves the domain name and returns a response, and the cache server parses the domain name records in the response and saves them in the cache, and returns the response to the user at the same time.

[0055] Preferably, if the resolution result of the domain name has been cached in the cache of the current cache server, however, the TTL has expired;

[0056] The cache server returns a response to the user first;

[0057] A request is sent to the recursive server or authoritative server, and the recursive server or authoritative server returns a response by normally resolving ...

Embodiment 3

[0061] combine Figure 2-5 The present invention is described in detail, specifically, as figure 1 As shown, it is the first query process. The user initiates a resolution request for a domain name. The current cache server does not have the resolution result of the domain name in the cache. The cache server transparently transmits the request and sends it to the recursive server or authoritative server. The recursive server Or the authoritative server can normally resolve the domain name and return a response. The cache server parses the domain name record in the response and saves it in the cache, and returns the response to the user at the same time, such as figure 1 shown.

[0062] Such as figure 2 As shown in the query process again, in which the user initiates a resolution request for a domain name, the resolution result of the domain name has been cached in the cache of the current cache server, and the TTL has not expired, the cache server directly returns a respons...

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 domain name resolution method and system based on DNS cache residency. The method includes: receiving a resolution request for a certain domain name initiated by a user; querying whether the resolution result of the domain name is cached in the cache server and whether the TTL expires ; If the resolution result of the domain name has been cached and the TTL has not expired, the cache server will directly return a response to the user. After the present invention adopts the above scheme, the DNS cache based on the cache server not only improves the resolution speed, but also when the authoritative server or recursive server resolves abnormally, the cache server can keep the cache and wait for the authoritative server or recursive server to resolve normally. The record of the domain name is updated from time to time, which has a good technical effect.

Description

technical field [0001] The invention belongs to the technical fields of network technology and domain name system (DNS), and in particular relates to a domain name resolution method and system based on DNS cache residency. Background technique [0002] DNS is the domain name system, a core service of the Internet, responsible for the resolution of mapping records between domain names and IP addresses, and is also a distributed database. The main function of the DNS cache server is to temporarily store the response information records from the authoritative server or recursive server in its cache. It can directly respond to the corresponding record information to the user, thereby effectively improving the efficiency of domain name resolution and reducing unnecessary bandwidth consumption. The efficient operation of DNS cache is a key factor to ensure the recursive domain name service and even the whole domain name service level. [0003] The authoritative domain name servi...

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/12H04L29/08
CPCH04L61/4511H04L67/5682H04L67/568
Inventor 丁文涛孙萍
Owner BEIJING RUNSTONE TECH
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