DNS response message processing method, DNS server and system

A DNS server and response message technology, applied in the IP network field, can solve the problems of lower system resolution efficiency and short storage time of DNS response messages, etc., and achieve the effects of improving resolution efficiency, reducing the number of iterative queries, and long storage time

Active Publication Date: 2011-04-20
CHINA MOBILE GRP BEIJING
View PDF2 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] However, in the DNS response message received by the DNS server at present, the value of the TTL field is often very small, or even zero. The reason for this situation may be that the TTL value is very small when the ICP server returns the DNS response packet. Due to network attacks, the value of the TTL field is maliciously modified, or some other network reasons, because the value of the TTL field is small, the storage time of the DNS response message in the cache is very short. When the resolution query of the same website domain name is requested multiple times within a short period of time, it will result in repeated iterative queries for the same website domain name in a short period of time, which reduces the resolution efficiency of the system

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 response message processing method, DNS server and system
  • DNS response message processing method, DNS server and system
  • DNS response message processing method, DNS server and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] figure 2 Shown is a flowchart of the domain name resolution method provided by Embodiment 1 of the present invention, including:

[0042] Step S201, the DNS server receives a domain name resolution request carrying a website domain name initiated by an access user.

[0043]Step S202, perform local query and cache query, specifically, query the IP address corresponding to the website domain name in the local domain name database and cache.

[0044] Step S203 , judging whether the IP address corresponding to the website domain name is found in the local domain name database and cache, if yes, proceed to step S204 , otherwise, proceed to step S205 .

[0045] Step S204, generating a DNS response message, which carries the queried IP address corresponding to the domain name of the website, and returning the generated DNS response message to the access user.

[0046] Step S205, obtain the DNS response message carrying the IP address corresponding to the website domain name...

Embodiment 2

[0063] image 3 Shown is a flow chart of the domain name resolution method provided by Embodiment 2 of the present invention, including:

[0064] Step S301, the access user initiates a domain name resolution request carrying the website domain name.

[0065] Step S302, after receiving the domain name resolution request, the front-end DNS server in the domain name resolution system performs local query and cache query, specifically querying the IP address corresponding to the website domain name in the local domain name database and cache.

[0066] Step S303, if the IP address corresponding to the website domain name is not found through local query and cache query, forward the domain name resolution request to the back-end intelligent DNS server, and the back-end intelligent DNS server performs iterative query.

[0067] Step S304, the back-end intelligent DNS server sends the domain name resolution request to the DNS server of the website through multiple iterations of the ro...

Embodiment 3

[0082] Based on the same inventive concept, according to the life cycle processing method of DNS response message provided by the above-mentioned embodiments of the present invention, correspondingly, Embodiment 3 of the present invention also provides a DNS server, and its structural diagram is as follows Figure 4 shown, including:

[0083] A message obtaining unit 401, configured to obtain a corresponding DNS response message after receiving a domain name resolution request initiated by an access user;

[0084] A period acquiring unit 402, configured to acquire the message life cycle carried in the DNS response message; the message life cycle is used to represent the storage time of the DNS response message in the cache;

[0085] The processing unit 403 is configured to update the obtained message life cycle using the set message life cycle when the obtained message life cycle is less than the period threshold, and generate a changed DNS response message; the set message li...

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 system (DNS) response message processing method, a DNS server and a system. The method comprises: when the DNS server receives a website-domain-name-carrying domain name analysis request initiated by an access user, acquiring a DNS response message carrying an internet protocol (IP) address corresponding to the website domain name by iterative query; acquiring a message life cycle carried by the DNS response message; when the acquired message life cycle is smaller than a cycle threshold, updating the message life cycle by using a set message life cycle, and generating an updated DNS response message, wherein the set message life cycle is longer than the message life cycle; and storing the updated DNS response message in a cache. When the method, the device and the system, which are disclosed by the invention, are used, the times of requested iterative query of a website domain name in a short period are reduced, and the analysis efficiency of the system is improved, compared with the prior art.

Description

technical field [0001] The present invention relates to the field of IP (Internet Protocol, Internet Protocol) network, in particular to a DNS (Domain Name Service, domain name service) response message processing method, DNS server and system in the IP network. Background technique [0002] In the IP (Internet Protocol, Internet Protocol) network, the main function of DNS (Domain Name Service, domain name service) is to convert the domain name (Domain Name) that is easy for people to remember and the IP address that the network can recognize. The conversion between domain name and IP address is called domain name resolution, and the network host that performs domain name resolution can be called DNS server. [0003] In the prior art, DNS provides three domain name resolution methods: local query, cache query and iterative query. If an access user of an ISP (Internet Service Provider, Internet Service Provider) enters a website domain name in a browser, the access user init...

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/12H04L12/56
Inventor 姜欣白爱军王文明曹秦峰杜建凤赵鑫盛凌志赵新宁李智伟赵伟李东昌
Owner CHINA MOBILE GRP BEIJING
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