WO2017000669A1 - 域名资源记录缓存的集中管控方法、装置和相关设备 - Google Patents

域名资源记录缓存的集中管控方法、装置和相关设备 Download PDF

Info

Publication number
WO2017000669A1
WO2017000669A1 PCT/CN2016/081466 CN2016081466W WO2017000669A1 WO 2017000669 A1 WO2017000669 A1 WO 2017000669A1 CN 2016081466 W CN2016081466 W CN 2016081466W WO 2017000669 A1 WO2017000669 A1 WO 2017000669A1
Authority
WO
WIPO (PCT)
Prior art keywords
domain name
resource record
cache
server
name resource
Prior art date
Application number
PCT/CN2016/081466
Other languages
English (en)
French (fr)
Inventor
黄孙亮
王翠
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017000669A1 publication Critical patent/WO2017000669A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Definitions

  • the present application relates to the field of communication network technologies, for example, to a centralized management and control method, apparatus, and related device for a domain name resource record cache.
  • domain name resolution technology is the basic technology of the Internet. It provides a mutual mapping relationship between domain name information and Internet Protocol (IP) address information, so that users do not need to memorize complex IP address information when using the Internet, but only need to record simple domain name information, which is extremely large. Promoted the development of the Internet.
  • IP Internet Protocol
  • the domain name resolution server may send a domain name resolution request to the upper-level domain name server to obtain a new domain name resolution record that is not stored locally from the upper-level domain name server, and, in general, the domain name resolution server will The new domain name resolution record is cached locally to improve the efficiency of subsequent domain name resolution.
  • domain name system resolution failure there is often a problem with domain name system resolution failure.
  • the embodiment of the invention provides a centralized control method, device and related device for the domain name resource record cache, and centrally controls and controls the domain name resource records cached in each domain name resolution server.
  • the domain name resolution server caches the domain name resource record provided by the domain name server, and sends a cache announcement message to the domain name resource record cache manager for the domain name resource record cache manager to receive the cache announcement message according to the preset condition. And controlling, by the domain name resource record cached in the domain name resolution server.
  • the domain name resource record includes cache announcement control information and address identifier information, where
  • the corresponding cache announcement message is sent to the domain name resource record cache manager, including:
  • the domain name resolution server determines whether to send a cache announcement message to the domain name resource record cache manager according to the control instruction in the cache announcement control information;
  • the domain name resolution server acquires the address information of the domain name resource record cache manager according to the address identification information
  • the domain name resolution server Based on the address information, the domain name resolution server sends the cache announcement message to the domain name resource record cache manager.
  • the domain name resource record cache manager controls, according to the received cache advertisement message, the domain name resource record cached in the domain name resolution server, including:
  • the domain name resource record cache manager performs the following control operations: saving the cache correspondence between the domain name resolution server and the domain name resource record based on the cache announcement message;
  • the domain name resource record cached by the domain name resolution server is controlled based on the cache correspondence relationship.
  • the embodiment of the invention further provides a centralized control method for a domain name resource record cache, including:
  • the domain name resource record cache manager receives the cache announcement message, and the cache advertisement message is sent by the domain name resolution server to the domain name resource record cache manager after the domain name resource record provided by the domain name server is cached, when the preset condition is met;
  • the domain name resource record cache manager controls the domain name resource record cached in the domain name resolution server.
  • the domain name resource record provided by the domain name server includes:
  • the cache announcement control information is used by the domain name resolution server to determine whether to send a cache announcement message to the domain name resource record cache manager;
  • the address identification information is used by the domain name resolution server to send a cache announcement message to the domain name resource record cache manager.
  • the domain name resource record cache manager controls the domain name resource record cached in the domain name resolution server according to the cache announcement message, including:
  • the domain name resource record cache manager saves a cache correspondence relationship between the domain name resolution server and the domain name resource record based on the cache announcement message;
  • the domain name resource record cache manager controls the domain name resource record.
  • the embodiment of the invention further provides a centralized control method for a domain name resource record cache, including:
  • the domain name server provides a domain name resource record to the domain name resolution server to assist the domain name resource record cache manager in controlling the domain name resource record.
  • the domain name resource record includes:
  • Cache announcement control information used by the domain name resolution server to determine whether to cache the domain name resource record
  • the manager sends a cache announcement message
  • the address identification information is used by the domain name resolution server to send a cache announcement message to the domain name resource record cache manager.
  • the embodiment of the invention further provides a centralized control device for the domain name resource record cache, which comprises:
  • the message declaration module is configured to cache the domain name resource record provided by the domain name server by the domain name resolution server, and send a corresponding cache announcement message to the domain name resource record cache manager when the preset condition is met, so that the domain name resource record cache manager can Receiving, by the cache announcement message, the domain name resource record cached in the domain name resolution server;
  • the management module is configured to receive the domain name resource record cache manager to control the domain name resource record cached in the domain name resolution server.
  • the embodiment of the invention further provides a centralized control device for the domain name resource record cache, which comprises:
  • the message receiving module is configured to receive a cache announcement message by the domain name resource record cache manager, where the cache advertisement message is cached by the domain name resolution server after the domain name resource record provided by the domain name server is cached, and the domain name resource record cache is satisfied when the preset condition is met. Sent by the device;
  • the domain name resource record cache manager controls the domain name resource record cached in the domain name resolution server.
  • the embodiment of the invention further provides a centralized control device for the domain name resource record cache, which comprises:
  • the management control module is configured to perform a domain name resolution request based on the domain name resolution server, and the domain name server provides a corresponding domain name resource record to the domain name resolution server to assist the domain name resource record cache manager to control the domain name resource record;
  • the domain name resource record includes:
  • the cache announcement control information is used by the domain name resolution server to determine whether to send a cache announcement message to the domain name resource record cache manager;
  • the address identification information is used by the domain name resolution server to send a cache announcement message to the domain name resource record cache manager.
  • the embodiment of the present invention further provides a domain name resolution server, which includes the centralized control device for the domain name resource record cache set in the domain name resolution server.
  • the embodiment of the present invention further provides a domain name resource record cache manager, which includes the centralized control device for the domain name resource record cache set in the domain name resource record cache manager.
  • the embodiment of the present invention further provides a domain name server, which includes the centralized control device for the domain name resource record cache set in the domain name server.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions for performing the above method.
  • the centralized control method, device, and related device of the domain name resource record cache include a domain name resource record cache manager, and includes a cache announcement control information in the domain name resource record provided by the domain name server to the domain name resolution server.
  • the address identification information is used to determine whether to send a cache announcement message to the centralized domain name resource record cache manager according to whether the cache advertisement control information satisfies the preset condition during the domain name resolution process. , thereby achieving centralized management control of the cache of domain name resource records.
  • the unauthorised domain name resource records cached by each parsing server in the network can be controlled and controlled, effectively improving the usability of the Internet service and improving the user experience.
  • FIG. 1 is a schematic diagram of a domain name resolution and a domain name cache processing process in the related art
  • FIG. 2 is a flowchart of a centralized control method for a domain name resource record cache according to a first embodiment of the present invention
  • FIG. 3 is a flowchart of a centralized control method for a domain name resource record cache according to a second embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a centralized control device for a domain name resource record cache according to a fourth embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a centralized control device for a domain name resource record cache according to a fifth embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a process of centralized management control of a cache of domain name resource records according to a tenth embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a data composition format of a domain name resource record type according to a tenth embodiment of the present invention.
  • Domain name resolution and domain name cache processing is a complicated process.
  • the client needs to visit www.zte.com as an example to explain the specific domain name resolution and domain name cache processing.
  • Figure 1 is the process of domain name resolution and domain name cache processing in related technologies.
  • the signaling flow diagram is shown in Figure 1.
  • the system involved in the process includes a client, a domain name resolution server, a root domain name server, a com domain name server, a zte.com domain name server, and a www.zte.com domain name server.
  • the client is responsible for initiating a Domain Name System (DNS) request according to the requirements of the specific application;
  • the domain name resolution server corresponds to the resolver in the standard protocol RFC1034, and in general, the domain name resolution server It will be combined with the local domain name server, which refers to the domain name server obtained by the client configuration, specified or obtained from the Internet Service Provider (ISP), which can be used to provide domain name resolution for the user.
  • ISP Internet Service Provider
  • the root domain name server refers to the DNS root server
  • the com domain name server refers to the authorized domain name server responsible for the domain resolution and management
  • the zte.com domain name server refers to the authorized, The domain name server responsible for parsing and managing the zte.com domain
  • the www.zte.com domain name server refers to the authorized domain name server responsible for domain parsing and management of www.zte.com.
  • the specific processing flow is as follows:
  • the client needs to perform domain name resolution for www.zte.com.
  • the client checks the local configuration file of the operating system, for example, the host file of the windows system. If the corresponding domain name resource record is found, the domain name resolution is completed.
  • the domain name resolution server After receiving the domain name resolution request, the domain name resolution server queries the local resources of the domain name resolution server. If the domain name to be queried is included in the locally configured regional resource (that is, the authorized resource record), the DNS resolution is completed to the client. Returning the DNS resolution result, the analysis result is authoritative; if the domain name to be queried is included in the locally cached area resource record (that is, the unauthorized resource record), the DNS resolution can also be completed, and the DNS resolution result is returned to the client. However, the result of the analysis is not authoritative;
  • the domain name resolution server needs to request resolution from the upper DNS domain name server.
  • the configuration domain name resolution server requests resolution from the root domain name server
  • the root domain name server determines that the domain name is authorized by the com domain name server, and therefore returns the information of the com domain name server to the domain name resolution server;
  • the domain name resolution server After obtaining the information of the com domain name server, the domain name resolution server sends a domain name resolution request to the com domain name server;
  • the com domain name server determines that the domain name is authorized by the zte.com domain name server, and therefore returns the information of the zte.com domain name server to the domain name resolution server;
  • the domain name resolution server After obtaining the information of the zte.com domain name server, the domain name resolution server sends a domain name resolution request to the zte.com domain name server;
  • the zte.com domain name server determines that the domain name is authorized by the www.zte.com domain name server, and therefore returns the information of the www.zte.com domain name server to the domain name resolution server;
  • the domain name resolution server After obtaining the information of the www.zte.com domain name server, the domain name resolution server sends a domain name resolution request to the www.zte.com domain name server;
  • the domain name server of the www.zte.com performs a local query according to the domain name resolution request, and finds that the domain name to be queried is included in the locally configured regional resource, and the DNS resolution is completed, and the corresponding domain name resolution result is returned to the domain name resolution. Server, the domain name resolution result is authoritative;
  • the domain name resolution server After the domain name resolution server obtains the domain name resolution result, the domain name resource record is obtained, and the domain name resource record is cached according to the policy. Generally, the domain name resolution server caches the domain name resource record, so as to facilitate the subsequent domain name. Parse the request service and improve the efficiency of domain name resolution;
  • the domain name resolution server returns the obtained domain name resolution result to the client
  • the domain name resource record is obtained, and the domain name resource record is cached according to the policy, where the cache policy is related to the client operating system and the user system configuration; if the client performs the domain name resource record cache, It can effectively improve the subsequent domain name resolution and improve the efficiency of domain name resolution.
  • the cache of the domain name resource record is the behavior of the domain name resolution server itself that obtains the parsing result, and there is no corresponding announcement mechanism, that is, the authoritative domain name server does not know which domain name resolutions on the network.
  • the server caches the domain name resource records it is authorized to maintain.
  • its domain name resource record changes, for example, the IP address corresponding to the domain name www.zte.com changes from the original 1.1.1.1 to 2.2.2.2, there will be a certain degree of domain name resolution.
  • the domain name resolution server queries the local cache record according to the user's domain name resolution request, it obtains the domain name resolution result of the IP address 1.1.1.1 corresponding to www.zte.com.
  • the reason for this problem is that the related technology only focuses on the update and synchronization between authorized domain name servers.
  • the related technologies include incremental area transmission (IXFR), standard area transmission (AXFR), etc., which can be referred to a series of numbers.
  • Request for comments (RFC) such as RFC1995, RFC 1996, RFC 2136, RFC 2137, RFC 3007, RFC 5936, and the like.
  • the related technology ignores the update of unauthorized information.
  • In the network there are a large number of domain name resolution servers that do a large number of caches of domain name resource records. These are unauthorized resource records. These are local behaviors, for authorized domain name servers, Authoritative domain name servers are not visible.
  • the authoritative domain name server can correspond to the primary master of RFC1996, which is the root node of a group of authorized domain name servers. Therefore, when a specific domain name resource record changes, the domain name resource record cached in the domain name resolution server is not updated in time, which may result in domain name parsing error, resulting in service unavailability.
  • the caching function is needed, because it is necessary to improve the efficiency and response speed of DNS resolution, avoid the performance bottleneck of the DNS server, but also need to solve the problem caused by the uncontrollable DNS cache.
  • a centralized management and control method for a domain name resource record cache includes:
  • Step S201 In the domain name resolution process, the domain name resolution server caches the domain name resource record provided by the domain name server; wherein the domain name server includes: an authorized domain name server.
  • the authoritative server is the root node of a set of authorized domain name servers.
  • Step S202 After the domain name resource record provided by the domain name server is cached, when the preset condition is met, the domain name resource record cache manager sends a cache announcement message for the domain name resource record cache manager to receive the cache announcement according to the received message. The message controls the domain name resource record cached in the domain name resolution server.
  • the domain name resource record includes cache announcement control information and address identifier information
  • control instruction indicates that the cache announcement control is performed, acquiring address information of the domain name resource record cache manager according to the address identification information;
  • the domain name resolution server Based on the address information, the domain name resolution server sends a cache announcement message to the domain name resource record cache manager.
  • the domain name resource record cache manager controls, according to the received cache advertisement message, the domain name resource record cached in the domain name resolution server, include:
  • the domain name resource record cache manager performs the following control operations: saving the cache correspondence between the domain name resolution server and the domain name resource record based on the cache announcement message;
  • the domain name resource record cached by the domain name resolution server is controlled based on the cache correspondence relationship.
  • a second embodiment of the present invention provides a centralized control method for a domain name resource record cache, as shown in FIG. 3, including:
  • Step S301 the domain name resource record cache manager receives the cache announcement message, and the cache advertisement message is cached by the domain name resolution server after the domain name resource record provided by the domain name server is cached, and the domain name resource record cache is satisfied if the preset condition is met.
  • the manager sent.
  • the domain name resource record provided by the domain name server includes:
  • the cache announcement control information is used by the domain name resolution server to determine whether to send a cache announcement message to the domain name resource record cache manager;
  • the address identification information is used by the domain name resolution server to send a cache announcement message to the domain name resource record cache manager.
  • Step S302 Control, according to the cache announcement message, a domain name resource record cached in the domain name resolution server.
  • step S302 includes:
  • the domain name resource record cache manager saves the cache correspondence between the domain name resolution server and the domain name resource record;
  • the domain name resource record cache manager controls the domain name resource record.
  • a third embodiment of the present invention provides a centralized control method for a domain name resource record cache, including:
  • the domain name server Based on the domain name resolution request of the domain name resolution server, the domain name server provides a corresponding domain name resource record to the domain name resolution server to assist the domain name resource record cache manager in controlling the domain name resource record;
  • the domain name resource record includes:
  • the cache announcement control information is used by the domain name resolution server to determine whether to send a cache announcement message to the domain name resource record cache manager;
  • the address identification information is used by the domain name resolution server to send a cache announcement message to the domain name resource record cache manager.
  • the fourth embodiment of the present invention corresponds to the technical solution of the centralized control method for the domain name resource record cache provided by the first embodiment.
  • This embodiment describes a centralized control device for the domain name resource record cache, which is set in the domain name resolution server, such as As shown in Figure 4, the device includes the following components:
  • the message announcement module 401 is configured to: after the domain name resolution server caches the domain name resource record provided by the domain name server in the domain name resolution process, send a corresponding cache announcement to the domain name resource record cache manager when the preset condition is met a message for the domain name resource record cache manager to control, according to the received cache advertisement message, the domain name resource record cached in the domain name resolution server;
  • the domain name resource record cache manager controls, according to the received cache advertisement message, the domain name resource record cached in the domain name resolution server, including:
  • the domain name resource record cache manager saves the cache correspondence between the domain name resolution server and the domain name resource record based on the cache announcement message;
  • the domain name resource record cached by the domain name resolution server is controlled based on the cache correspondence relationship.
  • the receiving control module 402 is configured to accept the control of the domain name resource record cached by the domain name resource record cache manager in the domain name resolution server.
  • the fifth embodiment of the present application corresponds to the technical solution of the centralized control method for the domain name resource record cache provided by the second embodiment.
  • This embodiment describes a centralized control device for the domain name resource record cache, which is set in the domain name resource record cache manager.
  • the device comprises the following components:
  • the message receiving module 501 is configured to receive, by the domain name resource record cache manager, a cache announcement message, where the cache advertisement message is cached by the domain name resolution server after the domain name resource record provided by the domain name server is cached, and the preset condition is met. , sent to the domain name resource record cache manager;
  • the implementation management module 502 is configured to control, according to the cache announcement message, the domain name resource record cache manager to control the domain name resource record cached in the domain name resolution server.
  • control module 502 includes:
  • the relationship saving submodule 51 is configured to save a cache correspondence relationship between the domain name resolution server and the domain name resource record based on the cache announcement message;
  • the active management sub-module 52 is configured to control the domain name resource record cached by the domain name resolution server based on the cache correspondence.
  • the sixth embodiment of the present invention is related to the technical solution of the centralized control method for the domain name resource record cache provided by the third embodiment.
  • This embodiment describes a centralized control device for the domain name resource record cache, which is set in the domain name server. Includes the following components:
  • the management control module is configured to provide a domain name resource record to the domain name resolution server according to the domain name resolution request of the domain name resolution server, to assist the domain name resource record cache manager to control the domain name resource record;
  • the domain name resource record includes:
  • the cache announcement control information is used by the domain name resolution server to determine whether the cache advertisement message needs to be sent to the domain name resource record cache manager;
  • the address identification information is used by the domain name resolution server to send a cache announcement message to the domain name resource record cache manager.
  • a seventh embodiment of the present invention is a domain name resolution server, which can be understood as a physical device.
  • the domain name resolution server includes a centralized control device for a domain name resource record cache set in a domain name resolution server in the fourth embodiment.
  • the eighth embodiment of the present invention is a domain name resource record cache manager, which can be understood as a physical device.
  • the domain name resource record cache manager includes the domain name resource record set in the domain name resource record cache manager in the fifth embodiment.
  • Centralized control device for the cache for the cache.
  • the ninth embodiment of the present invention is a domain name server, which can be understood as a physical device.
  • the domain name server includes the centralized control device of the domain name resource record cache set in the domain name server in the sixth embodiment.
  • the tenth embodiment of the present invention is based on the foregoing embodiment, and an application example of the present invention is introduced by using www.zte.com as an example, with reference to FIGS. 6-7, to implement a domain name resource record.
  • the method and system for centralized management of the cache is described.
  • Figure 6 depicts a process for implementing centralized management control of a cache of domain name resource records.
  • the process includes a client, a domain name resolution server, a root domain name server, a com domain name server, a zte.com domain name server, a www.zte.com domain name server, and a domain name resource record cache manager.
  • the client is responsible for initiating a DNS request according to the requirements of the specific application;
  • the domain name resolution server (corresponding to the Resolver in RFC1034, which is generally combined with the local domain name server) is responsible for providing the domain name resolution and the cache of the domain name resource record for the user;
  • the domain name server refers to the DNS root server, the com domain name server refers to the authorized domain name server responsible for the domain resolution and management; the zte.com domain name server refers to the authorized and responsible for the parsing and management of the zte.com domain.
  • the Domain Name Resource Record Cache Manager is set to centrally manage the domain name resource record cache. The process is as follows:
  • Step 1 When the user needs to access a specific service, for example, visit www.zte.com, the client needs to perform domain name resolution for www.zte.com.
  • the client checks the local configuration file of the operating system, for example, the host file of the windows system. If the corresponding domain name resource record is found, the domain name resolution is completed.
  • Step 2 If the client does not find the corresponding domain name resource record in the local configuration file, then go to view the local DNS cache of the client, and if there is a corresponding domain name resource record, complete the domain name resolution;
  • Step 3 If the client cannot find the domain name resolution in the local DNS cache, initiate a domain name resolution request to the domain name resolution server.
  • the domain name resolution server and the local domain name server are combined.
  • the local domain name server refers to the client configuration, the domain name server specified or obtained from the ISP).
  • Step 4 After receiving the domain name resolution request, the domain name resolution server queries the local resource of the domain name resolution server. If the domain name to be queried is included in the locally configured regional resource (that is, the authorized resource record), the DNS resolution is completed to the client. The end returns the DNS resolution result, and the parsing result is authoritative; if the domain name to be queried is included in the locally cached area resource record (that is, the unauthorized resource record), the DNS resolution can also be completed, and the DNS resolution result is returned to the client. , but the result of the analysis is not authoritative;
  • Step 5 If the domain name to be queried by the client is not resolved in the local configuration area resource and the cached area resource of the domain name resolution server, the domain name resolution server needs to request resolution from the upper DNS domain name server. Here, it is assumed that the domain name resolution server requests resolution from the root domain name server;
  • Step 6 After receiving the domain name resolution request, the root domain name server determines that the domain name is authorized by the com domain name server, and therefore returns the information of the com domain name server to the domain name resolution server;
  • Step 7 After obtaining the information of the com domain name server, the domain name resolution server initiates a domain name resolution request to the com domain name server.
  • Step 8 After receiving the domain name resolution request, the com domain name server determines that the domain name is authorized by the zte.com domain name server, and therefore returns the information of the zte.com domain name server to the domain name resolution server;
  • Step 9 After obtaining the information of the zte.com domain name server, the domain name resolution server initiates a domain name resolution request to the zte.com domain name server.
  • Step 10 After receiving the domain name resolution request, the zte.com domain name server determines that the domain name is authorized by the www.zte.com domain name server, and therefore returns the information of the www.zte.com domain name server to the domain name resolution server;
  • Step 11 After obtaining the information of the www.zte.com domain name server, the domain name resolution server initiates a domain name resolution request to the www.zte.com domain name server;
  • Step 12 The domain name server of the www.zte.com query is performed according to the domain name request, and the domain name that needs to be queried is included in the locally configured regional resource, and the corresponding domain name resolution result is returned to the domain name resolution server, and the domain name resolution result has authority. Sex.
  • the centralized control of the cache of the domain name resource record is implemented, so a new type is added to the domain name resolution result.
  • the domain name resource record includes the cache announcement control information and the address identification information, wherein the cache announcement control information is used to indicate whether the domain name resource record needs to be announced when the cache is cached, and the address identifier information is used to indicate which server is specifically needed to be Make a declaration;
  • Step 13 After the domain name resolution server obtains the domain name resolution result of the www.zte.com, in order to improve the efficiency of the domain name resolution, it is decided to record the domain name resource locally for caching;
  • Step 14 The domain name resolution server determines that the domain name resource record is cached, and the domain name resolution server needs to analyze the cache announcement control information field in the domain name resource record, and determine whether the domain name resource record cache announcement process needs to be performed according to the cache announcement control information. If the announcement is required, it is determined according to the address identification information to which servers are to be announced, wherein the address identification information may refer to the IP address of the server and the like.
  • Step 15 The domain name resolution server returns the domain name resolution result to the client.
  • FIG. 7 is a schematic diagram showing the data composition structure of the domain name resource record type of the application example of the present application.
  • a resource record type (Resource Record Type) is also defined, which is called a CacheC RRType, and its main function is to identify whether a specific domain name resource record needs to be cached and provide an implementation. Describe the relevant information required for cache control.
  • the data composition of the CacheC RRType is set as follows:
  • the flags field is used to identify whether to perform cache announcement control; you can set:
  • the Server field is used to identify the server address information.
  • the server address information is the address information of the domain name resource record cache manager.
  • the method and system for implementing the centralized management control of the cache of the domain name resource record in the embodiment by adding the domain name resource record cache manager, adding a resource record type for the cache control, and appropriately modifying the domain name resolution and the cache process
  • the process enables the centralized management and control of the cache of the domain name resource record, so that the non-authorized domain name resource record cached by the domain name resolution server can exist in the network, and the availability of the Internet service can be effectively improved, and the user can be improved.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which can execute the centralized management and control method of the domain name resource record cache in any of the above embodiments.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware.
  • the technical solution of the embodiment of the present invention may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), including instructions for making one
  • the terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) performs the method described in the embodiments of the present invention.
  • the embodiment of the invention implements the centralized control of the domain name resource record cache, so that a large number of unauthorised domain name resource records cached in the domain name resolution server can be controlled and controlled, thereby effectively improving the availability of the Internet service.

Abstract

一种域名资源记录缓存的集中管控方法、装置和相关设备,通过增加一个域名资源记录缓存管理器,并在域名服务器向域名解析服务器提供一个域名资源记录,该域名资源记录中包括缓存宣告控制信息和地址标识信息,同时还修改了域名解析的处理过程,使得在域名解析过程中,当域名解析服务器进行了域名资源记录缓存时,可以向集中的域名资源记录缓存管理器进行宣告,从而实现域名资源记录缓存的集中管理控制。使得网络中大量存在的,域名解析服务器缓存的非授权的域名资源记录能够可管可控,有效提高互联网业务的可用性,提高用户体验。

Description

域名资源记录缓存的集中管控方法、装置和相关设备 技术领域
本申请涉及通信网络技术领域,例如涉及一种域名资源记录缓存的集中管控方法、装置和相关设备。
背景技术
相关技术中,域名解析技术是互联网的基础性技术。它提供了实现域名信息和网络协议(Internet Protocol,简称为IP)地址信息的相互映射关系,使得用户在使用互联网时,无需记忆复杂的IP地址信息,而仅需记录简单的域名信息,极大促进了因特网的发展。
在域名解析过程中,域名解析服务器可向上级域名服务器发送域名解析请求,以实现从上级域名服务器中获得本地未存储的新的域名解析记录,并且,通常情况下,该域名解析服务器会将该新的域名解析记录进行本地缓存,以提高后续相同域名解析的效率。但是经常会出现域名系统解析失效的问题。
发明内容
本发明实施例提供一种域名资源记录缓存的集中管控方法、装置和相关设备,对各域名解析服务器中缓存的域名资源记录进行集中管控。
本发明实施例中的域名资源记录缓存的集中管控方法,包括:
域名解析服务器对域名服务器提供的域名资源记录进行缓存,当满足预设条件时,向域名资源记录缓存管理器发送缓存宣告消息,以供域名资源记录缓存管理器根据接收到的所述缓存宣告消息,对所述域名解析服务器中缓存的所述域名资源记录进行管控。
可选地,所述域名资源记录中包括缓存宣告控制信息和地址标识信息,
当满足预设条件时,向域名资源记录缓存管理器发送相对应的缓存宣告消息,包括:
根据所述缓存宣告控制信息中的控制指令,域名解析服务器判断是否向域名资源记录缓存管理器发送缓存宣告消息;
当所述缓存宣告控制信息指示进行缓存宣告控制时,根据所述地址标识信息,域名解析服务器获取域名资源记录缓存管理器的地址信息;以及
基于所述地址信息,域名解析服务器向域名资源记录缓存管理器发送所述缓存宣告消息。
可选地,所述供域名资源记录缓存管理器根据接收到的所述缓存宣告消息,对所述域名解析服务器中缓存的所述域名资源记录进行管控,包括:
供域名资源记录缓存管理器执行如下管控操作:基于所述缓存宣告消息,保存域名解析服务器与域名资源记录之间的缓存对应关系;以及
基于所述缓存对应关系,对域名解析服务器缓存的该域名资源记录进行管控。
本发明实施例还提供一种域名资源记录缓存的集中管控方法,包括:
域名资源记录缓存管理器接收缓存宣告消息,所述缓存宣告消息是域名解析服务器在对域名服务器提供的域名资源记录进行缓存后,在满足预设条件时向域名资源记录缓存管理器发送的;
根据所述缓存宣告消息,域名资源记录缓存管理器对所述域名解析服务器中缓存的域名资源记录进行管控。
可选地,域名服务器提供的域名资源记录中包括:
缓存宣告控制信息,用于供域名解析服务器判断是否向域名资源记录缓存管理器发送缓存宣告消息;以及,
地址标识信息,用于供域名解析服务器向域名资源记录缓存管理器发送缓存宣告消息。
可选地,所述根据所述缓存宣告消息,域名资源记录缓存管理器对所述域名解析服务器中缓存的域名资源记录进行管控,包括:
基于所述缓存宣告消息,域名资源记录缓存管理器保存域名解析服务器与域名资源记录之间的缓存对应关系;
基于所述缓存对应关系,域名资源记录缓存管理器对所述域名资源记录进行管控。
本发明实施例还提供一种域名资源记录缓存的集中管控方法,包括:
基于域名解析服务器的域名解析请求,域名服务器向所述域名解析服务器提供相应的域名资源记录,以协助域名资源记录缓存管理器对所述域名资源记录进行管控;
所述域名资源记录中包括:
缓存宣告控制信息,用于供域名解析服务器判断是否向域名资源记录缓存 管理器发送缓存宣告消息;
地址标识信息,用于供域名解析服务器向域名资源记录缓存管理器发送缓存宣告消息。
本发明实施例还提供一种域名资源记录缓存的集中管控装置,包括:
消息宣告模块,设置为域名解析服务器对域名服务器提供的域名资源记录进行缓存,当满足预设条件时向域名资源记录缓存管理器发送相对应的缓存宣告消息,以供域名资源记录缓存管理器根据接收到的所述缓存宣告消息,对所述域名解析服务器中缓存的所述域名资源记录进行管控;以及
接受管控模块,设置为域名解析服务器接受域名资源记录缓存管理器对所述域名解析服务器中缓存的所述域名资源记录进行管控。
本发明实施例还提供一种域名资源记录缓存的集中管控装置,包括:
消息接收模块,设置为域名资源记录缓存管理器接收缓存宣告消息,所述缓存宣告消息是域名解析服务器在对域名服务器提供的域名资源记录进行缓存后,满足预设条件时向域名资源记录缓存管理器发送的;以及
施行管控模块,根据所述缓存宣告消息,域名资源记录缓存管理器对所述域名解析服务器中缓存的所述域名资源记录进行管控。
本发明实施例还提供一种域名资源记录缓存的集中管控装置,包括:
协助管控模块,设置为基于域名解析服务器的域名解析请求,域名服务器向所述域名解析服务器提供相应的域名资源记录,以协助域名资源记录缓存管理器对所述域名资源记录进行管控;
所述域名资源记录中包括:
缓存宣告控制信息,用于供域名解析服务器判断是否向域名资源记录缓存管理器发送缓存宣告消息;以及
地址标识信息,用于供域名解析服务器向域名资源记录缓存管理器发送缓存宣告消息。
本发明实施例还提供一种域名解析服务器,包括上述设置于域名解析服务器中的域名资源记录缓存的集中管控装置。
本发明实施例还提供一种域名资源记录缓存管理器,包括上述设置于域名资源记录缓存管理器中的域名资源记录缓存的集中管控装置。
本发明实施例还提供一种域名服务器,包括上述设置于域名服务器中的域名资源记录缓存的集中管控装置。
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述方法。
本发明实施例所述域名资源记录缓存的集中管控方法、装置和相关设备,通过增加一个域名资源记录缓存管理器,并在域名服务器向域名解析服务器提供的域名资源记录中包括缓存宣告控制信息和地址标识信息,使得在域名解析过程中,当域名解析服务器进行了域名资源记录缓存时,可以根据缓存宣告控制信息是否满足预设条件,判定是否向集中的域名资源记录缓存管理器发送缓存宣告消息,从而实现域名资源记录的缓存的集中管理控制。使得网络中大量存在的,各个解析服务器缓存的非授权的域名资源记录能够可管可控,有效提高互联网业务的可用性,提高用户体验。
附图说明
图1为相关技术中域名解析和域名缓存处理过程示意图;
图2为本发明第一实施例的域名资源记录缓存的集中管控方法流程图;
图3为本发明第二实施例的域名资源记录缓存的集中管控方法流程图;
图4为本发明第四实施例的域名资源记录缓存的集中管控装置组成结构示意图;
图5为本发明第五实施例的域名资源记录缓存的集中管控装置组成结构示意图;
图6为本发明第十实施例的域名资源记录的缓存的集中管理控制的处理过程示意图;
图7为本发明第十实施例的域名资源记录类型的数据组成格式示意图。
实施方式
域名解析和域名缓存处理是一个复杂的过程,以客户端需要访问www.zte.com为例,对具体的域名解析和域名缓存处理进行说明,图1是相关技术中域名解析和域名缓存处理过程的信令流程图,如图1所示,该处理过程涉及的系统包括了客户端,域名解析服务器,根域名服务器,com域名服务器,zte.com域名服务器,以及www.zte.com域名服务器。其中,客户端负责根据具体应用的需求发起域名系统(Domain Name System,简称为DNS)请求;域名解析服务器对应标准协议RFC1034中的resolver,一般情况下,域名解析服务器 会和本地域名服务器合设,而本地域名服务器这里指的是客户端配置、指定或从互联网服务提供商(Internet Service Provider,简称为ISP)处获取的域名服务器,可用于负责为用户提供域名解析和域名资源记录的缓存等;根域名服务器指的是DNS根服务器,com域名服务器指的是获得授权的、负责com域解析和管理的域名服务器;zte.com域名服务器指的是获得授权的、负责zte.com域解析和管理的域名服务器;www.zte.com域名服务器指的是获得授权的负责www.zte.com域解析和管理的域名服务器。具体的处理流程如下:
1、当用户需要访问具体业务,例如:访问www.zte.com,客户端需要进行针对www.zte.com的域名解析。客户端去查看操作系统的本地配置文件,比如:windows系统的host文件,如果查到有对应的域名资源记录,则完成域名解析;
2、如果客户端在本地配置文件中未查到有对应的域名资源记录,则转去查看客户端本地的DNS缓存,如果有对应的域名资源记录,则完成域名解析;
3、如果客户端在本地的DNS缓存中也无法查找到对应的域名解析的情况,则向域名解析服务器发起域名解析请求;
4、域名解析服务器接收到域名解析请求后,查询域名解析服务器的本地资源,如果要查询的域名包含在本地配置的区域资源中(即获得授权的资源记录),则完成DNS解析,向客户端返回DNS解析结果,该解析结果具有权威性;如果要查询的域名包含在本地缓存的区域资源记录中(即非授权的资源记录),则也可完成DNS解析,向客户端返回DNS解析结果,但该解析结果不具有权威性;
5、如果在域名解析服务器的本地配置的区域资源和缓存的区域资源中都未解析到客户端要查找的域名,则域名解析服务器需要向上级DNS域名服务器请求解析。在这里,假定配置域名解析服务器向根域名服务器请求解析;
6、根域名服务器收到域名解析请求后,判断出这个域名是由com域名服务器授权管理,因此,将com域名服务器的信息返回给域名解析服务器;
7、域名解析服务器获得com域名服务器的信息后,向com域名服务器发送域名解析请求;
8、com域名服务器收到域名解析请求后,判断这个域名是由zte.com域名服务器授权管理,因此,将zte.com域名服务器的信息返回给域名解析服务器;
9、域名解析服务器获得zte.com域名服务器的信息后,向zte.com域名服务器发送域名解析请求;
10、zte.com域名服务器收到域名解析请求后,判断这个域名是由www.zte.com域名服务器授权管理,因此,将www.zte.com域名服务器的信息返回给域名解析服务器;
11、域名解析服务器获得www.zte.com域名服务器的信息后,向www.zte.com域名服务器发送域名解析请求;
12、www.zte.com域名服务器根据域名解析请求进行本地查询,发现该请求需要查询的域名包含在本地配置的区域资源中,则可完成DNS解析,并将对应的域名解析结果返回给域名解析服务器,该域名解析结果具有权威性;
13、域名解析服务器获得域名解析结果后,得到域名资源记录,并根据策略判定是否对该域名资源记录进行缓存,一般情况下,域名解析服务器会缓存该域名资源记录,以便于为后续同样的域名解析请求服务,提高域名解析效率;
14、域名解析服务器将获得的域名解析结果返回给客户端;
15、客户端获得域名解析结果后,得到域名资源记录,并根据策略判定是否缓存该域名资源记录,其中缓存策略与客户端操作系统和用户系统配置相关;如果客户端进行域名资源记录缓存,则可有效提高后续同样的域名解析,提高域名解析效率。
从上述域名解析和域名缓存的处理过程中,可以知道,在域名解析的过程中,首先是查询本地的资源记录信息和缓存的资源记录信息,通过这样的方式来提高域名解析的效率和避免集中处理的性能问题。因此,绝大多数的域名解析服务器在获得新的域名解析记录时,都会选择进行本地缓存,以提高域名解析的效率。但这样的方式也会带来相应的问题,例如:DNS解析失效等问题。
从以上的处理流程,可以看到,域名资源记录的缓存是获得解析结果的域名解析服务器本身的行为,并没有相应的宣告机制,也就是说,权威域名服务器并不知道网络上有哪些域名解析服务器缓存了它授权维护的域名资源记录。当它的域名资源记录出现变化时,比如:域名www.zte.com对应的IP地址从原先的1.1.1.1改变为2.2.2.2,就会出现一定程度的域名解析问题。因为域名解析服务器依据用户的域名解析请求在查询本地的缓存记录时就会获得www.zte.com对应的IP地址为1.1.1.1的域名解析结果。
导致这一问题的原因是,相关技术只关注了授权域名服务器之间的更新和同步,相关技术包括了增量区域传输(IXFR),标准区域传输(AXFR)等,其中可参见一系列以编号排定的文件(request for comments,RFC),如RFC1995, RFC1996,RFC2136,RFC2137,RFC3007,RFC5936等。相关技术忽略了非授权信息的更新,其中在网络中,有着大量的域名解析服务器做了大量的域名资源记录的缓存,这些都是非授权的资源记录,这些都是本地行为,对授权域名服务器、权威域名服务器都是不可见的。权威域名服务器可以对应到RFC1996的首要主盘primary master,是一组授权域名服务器的根节点。因此,当特定的域名资源记录出现变化时,缓存在域名解析服务器中的域名资源记录并没有得到及时的更新,这样就会导致域名解析错误,导致业务不可用。
很显然,在使用DNS技术的时候,需要缓存功能,因为需要提高DNS解析的效率和响应的速度,避免DNS服务器的性能瓶颈,但也需要解决由于DNS缓存不可控带来的问题。
本发明第一实施例,一种域名资源记录缓存的集中管控方法,如图2所示,包括:
步骤S201,在域名解析过程中,域名解析服务器对域名服务器提供的域名资源记录进行缓存;其中,所述域名服务器包括:授权域名服务器。而权威服务器是一组授权域名服务器的根节点。
步骤S202,对域名服务器提供的域名资源记录进行缓存后,当满足预设条件时,向域名资源记录缓存管理器发送缓存宣告消息,以供域名资源记录缓存管理器根据接收到的所述缓存宣告消息,对所述域名解析服务器中缓存的所述域名资源记录进行管控。
可选地,步骤S202中,所述域名资源记录包括缓存宣告控制信息和地址标识信息;
所述当满足预设条件时,向域名资源记录缓存管理器发送相对应的缓存宣告消息,包括:根据所述缓存宣告控制信息中的控制指令,域名解析服务器判断是否向域名资源记录缓存管理器发送缓存宣告消息;
当所述控制指令指示进行缓存宣告控制时,根据所述地址标识信息获取域名资源记录缓存管理器的地址信息;以及
基于所述地址信息,域名解析服务器向域名资源记录缓存管理器发送缓存宣告消息。
可选地,步骤S202中,所述供域名资源记录缓存管理器根据接收到的所述缓存宣告消息,对所述域名解析服务器中缓存的所述域名资源记录进行管控, 包括:
供域名资源记录缓存管理器执行如下管控操作:基于缓存宣告消息,保存域名解析服务器与域名资源记录之间的缓存对应关系;
基于所述缓存对应关系,对域名解析服务器缓存的该域名资源记录进行管控。
本发明第二实施例,一种域名资源记录缓存的集中管控方法,如图3所示,包括:
步骤S301,域名资源记录缓存管理器接收缓存宣告消息,所述缓存宣告消息是域名解析服务器在对域名服务器提供的域名资源记录进行缓存后,在满足预设条件的情况下,向域名资源记录缓存管理器发送的。
可选地,域名服务器提供的域名资源记录中包括:
缓存宣告控制信息,用于供域名解析服务器判断是否向域名资源记录缓存管理器发送缓存宣告消息;以及,
地址标识信息,用于供域名解析服务器向域名资源记录缓存管理器发送缓存宣告消息。
步骤S302,根据所述缓存宣告消息,对所述域名解析服务器中缓存的域名资源记录进行管控。
可选地,步骤S302包括:
基于缓存宣告消息,域名资源记录缓存管理器保存域名解析服务器与域名资源记录之间的缓存对应关系;以及
基于所述缓存对应关系,域名资源记录缓存管理器对域名资源记录进行管控。
本发明第三实施例,一种域名资源记录缓存的集中管控方法,包括:
基于域名解析服务器的域名解析请求,域名服务器向所述域名解析服务器提供相应的域名资源记录,以协助域名资源记录缓存管理器对域名资源记录进行管控;
所述域名资源记录中包括:
缓存宣告控制信息,用于供域名解析服务器判断是否向域名资源记录缓存管理器发送缓存宣告消息;
地址标识信息,用于供域名解析服务器向域名资源记录缓存管理器发送缓存宣告消息。
本发明第四实施例,与第一实施例提供的域名资源记录缓存的集中管控方法的技术方案对应,本实施例介绍一种域名资源记录缓存的集中管控装置,设置于域名解析服务器中,如图4所示,该装置包括以下组成部分:
1)消息宣告模块401,设置为在域名解析过程中,在域名解析服务器对域名服务器提供的域名资源记录进行缓存后,当满足预设条件时向域名资源记录缓存管理器发送相对应的缓存宣告消息,以供域名资源记录缓存管理器根据接收到的所述缓存宣告消息,对所述域名解析服务器中缓存的所述域名资源记录进行管控;
可选地,所述供域名资源记录缓存管理器根据接收到的所述缓存宣告消息,对所述域名解析服务器中缓存的所述域名资源记录进行管控,包括:
供域名资源记录缓存管理器:基于缓存宣告消息,保存域名解析服务器与域名资源记录之间的缓存对应关系;
基于所述缓存对应关系,对域名解析服务器缓存的该域名资源记录进行管控。
2)接受管控模块402,设置为接受域名资源记录缓存管理器对所述域名解析服务器中缓存的所述域名资源记录的管控。
本申请第五实施例,与第二实施例提供的域名资源记录缓存的集中管控方法的技术方案对应,本实施例介绍一种域名资源记录缓存的集中管控装置,设置于域名资源记录缓存管理器中,如图5所示,该装置包括以下组成部分:
1)消息接收模块501,设置为域名资源记录缓存管理器接收缓存宣告消息,所述缓存宣告消息是域名解析服务器在对域名服务器提供的域名资源记录进行缓存后,在满足预设条件的情况下,向域名资源记录缓存管理器发送的;
2)施行管控模块502,设置为根据所述缓存宣告消息,域名资源记录缓存管理器对所述域名解析服务器中缓存的所述域名资源记录进行管控。
可选地,施行管控模块502,包括:
关系保存子模块51,设置为基于缓存宣告消息,保存域名解析服务器与域名资源记录之间的缓存对应关系;
主动管控子模块52,设置为基于所述缓存对应关系,对域名解析服务器缓存的该域名资源记录进行管控。
本发明第六实施例,与第三实施例提供的域名资源记录缓存的集中管控方法的技术方案对应,本实施例介绍一种域名资源记录缓存的集中管控装置,设置于域名服务器中,该装置包括以下组成部分:
协助管控模块,设置为基于域名解析服务器的域名解析请求,向所述域名解析服务器提供相应的域名资源记录,以协助域名资源记录缓存管理器对域名资源记录进行管控;
所述域名资源记录中包括:
缓存宣告控制信息,用于供域名解析服务器判断是否需要向域名资源记录缓存管理器发送缓存宣告消息;
地址标识信息,用于供域名解析服务器向域名资源记录缓存管理器发送缓存宣告消息。
本发明第七实施例,一种域名解析服务器,可以作为实体装置来理解,该域名解析服务器包括第四实施例中的设置于域名解析服务器中的域名资源记录缓存的集中管控装置。
本发明第八实施例,一种域名资源记录缓存管理器,可以作为实体装置来理解,该域名资源记录缓存管理器包括第五实施例中的设置于域名资源记录缓存管理器中的域名资源记录缓存的集中管控装置。
本发明第九实施例,一种域名服务器,可以作为实体装置来理解,该域名服务器包括第六实施例中的设置于域名服务器中的域名资源记录缓存的集中管控装置。
本发明第十实施例,本实施例是在上述实施例的基础上,以访问www.zte.com为例,结合附图6~7介绍一个本发明的应用实例,对一种实现域名资源记录的缓存的集中管理控制的方法和系统进行说明。
图6描述了一种实现域名资源记录的缓存的集中管理控制的处理过程。在 本处理过程中包括了客户端、域名解析服务器、根域名服务器、com域名服务器、zte.com域名服务器、www.zte.com域名服务器以及域名资源记录缓存管理器。其中,客户端负责根据具体应用的需求发起DNS请求;域名解析服务器(对应RFC1034中的Resolver,一般情况下会和本地域名服务器合设)负责为用户提供域名解析和域名资源记录的缓存等;根域名服务器指的是DNS根服务器,com域名服务器指的是获得授权的、负责com域解析和管理的域名服务器;zte.com域名服务器指的是获得授权的、负责zte.com域解析和管理的域名服务器;www.zte.com域名服务器指的是获得授权的负责www.zte.com域解析和管理的域名服务器;com域名服务器、zte.com域名服务器和www.zte.com域名服务器均属于前面实施例中的域名服务器。域名资源记录缓存管理器设置为对域名资源记录缓存的集中管理。处理过程如下:
步骤1,当用户需要访问具体业务,比如:访问www.zte.com,客户端需要进行针对www.zte.com的域名解析。客户端去查看操作系统的本地配置文件,比如:windows系统的host文件,如果查到有对应的域名资源记录,则完成域名解析;
步骤2,如果客户端在本地配置文件中未查到对应的域名资源记录,则转去查看客户端本地的DNS缓存,如果有对应的域名资源记录,则完成域名解析;
步骤3,如果客户端在本地DNS缓存中也无法查到域名解析的情况下,则向域名解析服务器发起域名解析请求(一般情况下,在具体网络部署中,域名解析服务器和本地域名服务器合设。对用户而言,本地域名服务器指的是客户端配置、指定或从ISP处获取的域名服务器)。
步骤4,域名解析服务器接收到域名解析请求后,查询域名解析服务器的本地资源,如果要查询的域名包含在本地配置的区域资源中(即获得授权的资源记录),则完成DNS解析,向客户端返回DNS解析结果,该解析结果具有权威性;如果要查询的域名包含在本地缓存的区域资源记录中(即非授权的资源记录),则也可完成DNS解析,向客户端返回DNS解析结果,但该解析结果不具有权威性;
步骤5,如果在域名解析服务器的本地配置区域资源和缓存的区域资源中都未解析到客户端要查询的域名,则域名解析服务器需要向上级DNS域名服务器请求解析。在这里,假定域名解析服务器向根域名服务器请求解析;
步骤6,根域名服务器收到域名解析请求后,判断出这个域名是由com域名服务器授权管理,因此,将com域名服务器的信息返回给域名解析服务器;
步骤7,域名解析服务器获得com域名服务器的信息后,向com域名服务器发起域名解析请求;
步骤8,com域名服务器收到域名解析请求后,判断这个域名是由zte.com域名服务器授权管理,因此,将zte.com域名服务器的信息返回给域名解析服务器;
步骤9,域名解析服务器获得zte.com域名服务器的信息后,向zte.com域名服务器发起域名解析请求;
步骤10,zte.com域名服务器收到域名解析请求后,判断这个域名是由www.zte.com域名服务器授权管理,因此,将www.zte.com域名服务器的信息返回给域名解析服务器;
步骤11,域名解析服务器获得www.zte.com域名服务器的信息后,向www.zte.com域名服务器发起域名解析请求;
步骤12,www.zte.com域名服务器根据域名请求进行查询,发现该请求需要查询的域名包含在本地配置的区域资源中,将对应的域名解析结果返回给域名解析服务器,该域名解析结果具有权威性。在本发明实施例中,为了解决相关技术中域名解析服务器中的域名资源记录的缓存不可用的问题,实现域名资源记录的缓存的集中控制,因此在这个域名解析结果中额外增加了一个新类型的域名资源记录,该域名资源记录包含缓存宣告控制信息和地址标识信息,其中缓存宣告控制信息用于表明该域名资源记录在缓存时是否需要进行宣告,地址标识信息用于表明具体需要向哪个服务器进行宣告;
步骤13,域名解析服务器获得www.zte.com的域名解析结果后,为了提高域名解析的效率,决定把该域名资源记录在本地进行缓存;
步骤14,由于域名解析服务器决定对该域名资源记录进行缓存,域名解析服务器需要分析该域名资源记录中的缓存宣告控制信息字段,根据缓存宣告控制信息,确定是否需要进行域名资源记录的缓存宣告过程;如果需要宣告,则根据地址标识信息确定需要向哪些服务器进行宣告,其中地址标识信息可以是指服务器的IP地址等。
步骤15,域名解析服务器将域名解析结果返回给客户端;
图7描述了本申请应用实例的域名资源记录类型的数据组成结构示意图。
在本申请应用实例中,还定义了一种资源记录类型(Resource Record Type),称之为CacheC RRType,它的主要作用是用于标识特定的域名资源记录是否需要进行缓存控制,并提供进行所述缓存控制所需的相关信息。在本实施例中,设定CacheC RRType的数据组成结构如下:
包含以下两部分,分别为宣告标识字段(flags字段)和地址标识字段(Server字段)。其中,
flags字段用于标识是否进行缓存宣告控制;可以设定:
0x0000,表示不需要进行缓存宣告控制;
0x0001,表示需要进行缓存宣告控制;
Server字段用于标识服务器地址信息,在本应用实例中,该服务器地址信息为域名资源记录缓存管理器的地址信息。
本实施例所述的实现域名资源记录的缓存的集中管理控制的方法和系统,通过增加域名资源记录缓存管理器,增加一种用于缓存控制的资源记录类型,并适当修改域名解析和缓存处理过程;使得在域名资源记录的缓存可以得到集中的管理和控制,使得网络中大量存在的,域名解析服务器缓存的非授权的域名资源记录能够可管可控,有效提高互联网业务的可用性,提高用户体验。
通过实施方式的说明,应当可对本发明为达成预定目的所采取的技术手段及功效得以更加深入且具体的了解,然而所附图示仅是提供参考与说明之用,并非用来对本发明加以限制。以及实施例中的编号仅是为了方便描述,并非对步骤执行过程的限定。
本发明实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,该计算机可执行指令可执行上述任意实施例中的域名资源记录缓存的集中管控方法。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,本发明实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明实施例所述的方法。
工业实用性
本发明实施例实现了域名资源记录缓存的集中管控,使得域名解析服务器中缓存的大量的非授权的域名资源记录可管可控,有效提高了互联网业务的可用性。

Claims (14)

  1. 一种域名资源记录缓存的集中管控方法,包括:
    域名解析服务器对域名服务器提供的域名资源记录进行缓存,
    当满足预设条件时,向域名资源记录缓存管理器发送缓存宣告消息,以供域名资源记录缓存管理器根据接收到的所述缓存宣告消息,对所述域名解析服务器中缓存的所述域名资源记录进行管控。
  2. 根据权利要求1所述的方法,其中,
    所述域名资源记录包括缓存宣告控制信息和地址标识信息;
    所述当满足预设条件时,向域名资源记录缓存管理器发送缓存宣告消息,包括:
    根据所述缓存宣告控制信息中的控制指令,域名解析服务器判断是否向域名资源记录缓存管理器发送缓存宣告消息;
    当所述缓存宣告控制信息指示进行缓存宣告控制时,根据所述地址标识信息,域名解析服务器获取域名资源记录缓存管理器的地址信息;以及
    基于所述地址信息,域名解析服务器向域名资源记录缓存管理器发送所述缓存宣告消息。
  3. 根据权利要求1或2所述的方法,其中,所述供域名资源记录缓存管理器根据接收到的所述缓存宣告消息,对所述域名解析服务器中缓存的所述域名资源记录进行管控,包括:
    供域名资源记录缓存管理器执行如下管控操作:基于所述缓存宣告消息,保存域名解析服务器与域名资源记录之间的缓存对应关系;以及
    基于所述缓存对应关系,对域名解析服务器缓存的该域名资源记录进行管控。
  4. 一种域名资源记录缓存的集中管控方法,包括:
    域名资源记录缓存管理器接收缓存宣告消息,所述缓存宣告消息是域名解析服务器在对域名服务器提供的域名资源记录进行缓存后,在满足预设条件时向域名资源记录缓存管理器发送的;以及
    根据所述缓存宣告消息,域名资源记录缓存管理器对所述域名解析服务器中缓存的域名资源记录进行管控。
  5. 根据权利要求4所述的方法,其中,域名服务器提供的域名资源记录包括:
    缓存宣告控制信息,用于供域名解析服务器判断是否向域名资源记录缓存管理器发送缓存宣告消息;以及,
    地址标识信息,用于供域名解析服务器向域名资源记录缓存管理器发送缓存宣告消息。
  6. 根据权利要求4或5所述的方法,其中,所述根据所述缓存宣告消息,域名资源记录缓存管理器对所述域名解析服务器中缓存的域名资源记录进行管控,包括:
    基于所述缓存宣告消息,域名资源记录缓存管理器保存域名解析服务器与域名资源记录之间的缓存对应关系;以及
    基于所述缓存对应关系,域名资源记录缓存管理器对所述域名资源记录进行管控。
  7. 一种域名资源记录缓存的集中管控方法,包括:
    基于域名解析服务器的域名解析请求,域名服务器向所述域名解析服务器提供相应的域名资源记录,以协助域名资源记录缓存管理器对所述域名资源记录进行管控;
    所述域名资源记录中包括:
    缓存宣告控制信息,用于供域名解析服务器判断是否向域名资源记录缓存管理器发送缓存宣告消息;以及
    地址标识信息,用于供域名解析服务器向域名资源记录缓存管理器发送缓存宣告消息。
  8. 一种域名资源记录缓存的集中管控装置,包括:
    消息宣告模块,设置为域名解析服务器对域名服务器提供的域名资源记录进行缓存,当满足预设条件时,向域名资源记录缓存管理器发送相对应的缓存宣告消息,以供域名资源记录缓存管理器根据接收到的所述缓存宣告消息,对所述域名解析服务器中缓存的所述域名资源记录进行管控;以及
    接受管控模块,设置为域名解析服务器接受域名资源记录缓存管理器对所述域名解析服务器中缓存的所述域名资源记录的管控。
  9. 一种域名资源记录缓存的集中管控装置,包括:
    消息接收模块,设置为域名资源记录缓存管理器接收缓存宣告消息,所述缓存宣告消息是域名解析服务器在对域名服务器提供的域名资源记录进行缓存后,满足预设条件时向域名资源记录缓存管理器发送的;以及
    施行管控模块,设置为根据所述缓存宣告消息,域名资源记录缓存管理器对所述域名解析服务器中缓存的所述域名资源记录进行管控。
  10. 一种域名资源记录缓存的集中管控装置,包括:
    协助管控模块,设置为基于域名解析服务器的域名解析请求,域名服务器向所述域名解析服务器提供相应的域名资源记录,以协助域名资源记录缓存管理器对所述域名资源记录进行管控;
    所述域名资源记录中包括:
    缓存宣告控制信息,用于供域名解析服务器判断是否需要向域名资源记录缓存管理器发送缓存宣告消息;以及
    地址标识信息,用于供域名解析服务器向域名资源记录缓存管理器发送缓存宣告消息。
  11. 一种域名解析服务器,包括如权利要求8所述的域名资源记录缓存的集中管控装置。
  12. 一种域名资源记录缓存管理器,包括如权利要求9所述的域名资源记录缓存的集中管控装置。
  13. 一种域名服务器,包括如权利要求10所述的域名资源记录缓存的集中管控装置。
  14. 一种计算机可读存储介质,存储有计算机执行指令,所述计算机执行指令用于执行权利要求1-7任一项所述的域名资源记录缓存的集中管控方法。
PCT/CN2016/081466 2015-07-01 2016-05-09 域名资源记录缓存的集中管控方法、装置和相关设备 WO2017000669A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510379644.0A CN106331205B (zh) 2015-07-01 2015-07-01 域名资源记录缓存的集中管控方法、装置和相关设备
CN201510379644.0 2015-07-01

Publications (1)

Publication Number Publication Date
WO2017000669A1 true WO2017000669A1 (zh) 2017-01-05

Family

ID=57607829

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/081466 WO2017000669A1 (zh) 2015-07-01 2016-05-09 域名资源记录缓存的集中管控方法、装置和相关设备

Country Status (2)

Country Link
CN (1) CN106331205B (zh)
WO (1) WO2017000669A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112804366A (zh) * 2019-11-13 2021-05-14 北京百度网讯科技有限公司 用于解析域名的方法和装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995887B (zh) * 2018-01-02 2022-05-10 中国移动通信有限公司研究院 一种dns解析方法、装置及计算机可读存储介质
CN111182059B (zh) * 2019-12-30 2022-10-28 互联网域名系统北京市工程研究中心有限公司 一种域名缓存更新的查询解析方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801823A (zh) * 2012-08-23 2012-11-28 神州数码网络(北京)有限公司 一种dns中继方法和装置
US8676989B2 (en) * 2009-04-23 2014-03-18 Opendns, Inc. Robust domain name resolution
CN103905572A (zh) * 2012-12-26 2014-07-02 中国移动通信集团公司 域名解析请求的处理方法及装置
CN104378452A (zh) * 2013-08-14 2015-02-25 阿里巴巴集团控股有限公司 一种用于域名解析的方法、装置及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137174B (zh) * 2010-12-29 2013-10-09 华为技术有限公司 域名系统缓存的方法、授权域名服务器、缓存域名服务器
US10715377B2 (en) * 2012-12-21 2020-07-14 Comcast Cable Communications, Llc Domain name services servers management to share data efficiently
CN104184775A (zh) * 2013-05-27 2014-12-03 电子科技大学 一种基于内容发布网络(cdn)的域名解析服务模型
CN103685599B (zh) * 2013-12-09 2017-04-05 中国科学院计算机网络信息中心 一种域名递归服务的预判干预方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8676989B2 (en) * 2009-04-23 2014-03-18 Opendns, Inc. Robust domain name resolution
CN102801823A (zh) * 2012-08-23 2012-11-28 神州数码网络(北京)有限公司 一种dns中继方法和装置
CN103905572A (zh) * 2012-12-26 2014-07-02 中国移动通信集团公司 域名解析请求的处理方法及装置
CN104378452A (zh) * 2013-08-14 2015-02-25 阿里巴巴集团控股有限公司 一种用于域名解析的方法、装置及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112804366A (zh) * 2019-11-13 2021-05-14 北京百度网讯科技有限公司 用于解析域名的方法和装置
CN112804366B (zh) * 2019-11-13 2023-05-12 北京百度网讯科技有限公司 用于解析域名的方法和装置

Also Published As

Publication number Publication date
CN106331205A (zh) 2017-01-11
CN106331205B (zh) 2019-02-05

Similar Documents

Publication Publication Date Title
US11277306B2 (en) Sending information of a network repository function instance storing network function instance information
US11336696B2 (en) Control access to domains, servers, and content
AU2017427437B2 (en) Pdu type setting method, ue policy setting method, and related entity
JP5587732B2 (ja) ドメイン・ネーム・サービス(dns)データベースへのアクセスを管理するコンピュータ実施方法、コンピュータ・プログラム、およびシステム
WO2021057889A1 (zh) 一种数据处理方法、装置、电子设备及存储介质
WO2019165665A1 (zh) 一种域名解析方法、服务器及系统
TWI652585B (zh) 遠端查詢訊息的方法及伺服器
US11671363B2 (en) Method and apparatus for cross-service-zone communication, and data center network
US10637794B2 (en) Resource subscription method, resource subscription apparatus, and resource subscription system
US9954815B2 (en) Domain name collaboration service using domain name dependency server
WO2015013161A1 (en) Method and system for associating internet protocol (ip) address, media access control (mac) address and location for a user device
EP2654242B1 (en) Device management method and apparatus
TW201724001A (zh) 全域資訊獲取、處理及更新方法、裝置和系統
KR20190007041A (ko) 표준 시간대 횡단 스테이션들 간의 데이터 버전 비교를 위한 방법 및 디바이스
TW201724825A (zh) 全域資訊獲取、處理及更新、方法、裝置和系統
WO2015039475A1 (zh) 一种域名解析方法、服务器及系统
WO2017000669A1 (zh) 域名资源记录缓存的集中管控方法、装置和相关设备
EP2963880B1 (en) Data sending and processing method and router
US10680930B2 (en) Method and apparatus for communication in virtual network
US10263955B2 (en) Multi-tiered protection platform
CN107070885B (zh) 信息处理方法、装置及系统
CN114221959A (zh) 服务共享方法、装置和系统
WO2015024373A1 (zh) 一种虚拟机通信方法及装置
CN108141704B (zh) 先前网络消息处理器的位置标识
US9832200B2 (en) Multi-tiered protection platform

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16817033

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16817033

Country of ref document: EP

Kind code of ref document: A1