WO2017000561A1 - Serveur et procédé de commande de mise en cache d'enregistrements de ressource de nom de domaine - Google Patents

Serveur et procédé de commande de mise en cache d'enregistrements de ressource de nom de domaine Download PDF

Info

Publication number
WO2017000561A1
WO2017000561A1 PCT/CN2016/073821 CN2016073821W WO2017000561A1 WO 2017000561 A1 WO2017000561 A1 WO 2017000561A1 CN 2016073821 W CN2016073821 W CN 2016073821W WO 2017000561 A1 WO2017000561 A1 WO 2017000561A1
Authority
WO
WIPO (PCT)
Prior art keywords
domain name
resource record
server
cache
name resource
Prior art date
Application number
PCT/CN2016/073821
Other languages
English (en)
Chinese (zh)
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 WO2017000561A1 publication Critical patent/WO2017000561A1/fr

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/58Caching of addresses or names

Definitions

  • the present invention relates to the field of computer networks, and in particular, to a domain name resource record cache control method and server.
  • 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
  • FIG. 1 shows the domain name in the prior art.
  • the signaling flow chart of the parsing and domain name caching process 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 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 the resolver refers to the client configuration, designation, or from the Internet service provider.
  • the domain name resolution server obtained by the Internet Service Provider (ISP).
  • ISP Internet Service Provider
  • the domain name resolution server is also used as the domain name cache server. Therefore, it is also called the domain name cache server.
  • the root domain name server refers to the current network DNS root server.
  • the domain name server refers to the authorized domain name server responsible for domain resolution and management;
  • the zte.com domain name server refers to the authorized domain name server responsible for zTE.com domain resolution and management;
  • www.zte.com domain name server refers to the authorized domain name server responsible for the resolution and management of the www.zte.com domain.
  • the specific processing flow is as follows:
  • the client needs to perform domain name resolution for www.zte.com.
  • the client first checks the local configuration file of the operating system, for example, the host file of the windows system. If the corresponding DNS resource record (DNS RR) is found, the domain name resolution is completed.
  • DNS RR DNS resource record
  • the domain name resolution server refers to the client configuration, designation, or acquisition from the ISP.
  • a domain name resolution server serves as a domain name cache server.
  • the domain name resolution server After receiving the domain name request, the domain name resolution server first queries the local resource, if it wants to query If the domain name is included in the locally configured regional resource (that is, the authorized resource record), the DNS resolution is completed, and the DNS resolution result is returned to the client.
  • the analysis result is authoritative; if the domain name to be queried is included in the cached area resource record In the middle (that is, the unauthorized resource record), the DNS resolution is completed, and the DNS resolution result is returned to the client, and the analysis result is not authoritative;
  • the 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 initiates 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 initiates 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. Therefore, the information of the www.zte.com domain name server is returned 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 initiates a domain name resolution request to the www.zte.com domain name server;
  • the domain name server of the www.zte.com query is based on 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 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 cached according to the policy decision. Generally, the domain name resolution server caches the domain name resource record, so as to facilitate the subsequent domain name resolution request service and improve the domain name. Analytical efficiency;
  • the domain name resolution server returns the obtained domain name resolution result to the client
  • the client determines whether to cache the domain name resource record according to the policy.
  • the specific cache policy is related to the specific client operating system and the user system configuration. If the DNS domain name resource record cache is performed, the domain name resolution efficiency can be effectively improved.
  • the cache of the DNS 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. Because the user's DNS resolution request queries the local DNS cache, or queries the cache record of the domain name resolution server, the domain name resolution result of the IP address 1.1.1.1 corresponding to www.zte.com is obtained.
  • the reason for this problem is that the existing technology only focuses on the update and synchronization between authorized domain name servers.
  • the specific technologies include incremental area transmission (IXFR), standard area transmission (AXFR), etc.
  • IXFR incremental area transmission
  • AXFR standard area transmission
  • the prior art ignores the update of unauthorized information.
  • In the network there are a large number of domain name resolution servers that do a lot of cache of domain name resource records. These are unauthorized domain name resource records. These are local behaviors and are invisible to authorized domain name servers and authoritative domain name servers. Therefore, when a specific domain name resource record changes, the domain name resource record cached in each domain name resolution server is not updated in time, which may result in domain name parsing error, resulting in service unavailability.
  • the current program has the following types:
  • TTL time-to-live
  • the cache of the domain name resource record is not allowed.
  • the TTL is set to 0, so that the domain name resource record is not cached.
  • the domain name resolution server initiates the query and update of the domain name resource record before the TTL expires; such a method needs to set the time point of regular query and update, or can not update the domain name resource record in real time, when the domain name resource record changes Before the set update time point arrives, there will still be a problem that the domain name resolution fails for a period of time.
  • the present invention provides a domain name resource record cache control method and server.
  • the present invention provides a domain name resource record cache control method, including: in a domain name resolution process, after the domain name resolution server caches the domain name resource record provided by the domain name server, the domain name server receives the cache announcement message sent by the domain name resolution server; Based on the local domain name resource record, the preset domain name resource record cache session table is updated according to the cache announcement message, where the domain name resource record cache session table is used to record the cache information of the domain name resource record.
  • the domain name resource record cache control method includes: the domain name server changes in the domain name resource record The domain name resolution server that caches the domain name resource record initiates an update of the domain name resource record according to the domain name resource record cache session table.
  • the domain name resource record cache control method includes: after the client device caches the domain name resource record provided by the domain name resolution server, the domain name resolution server receives the cache announcement message sent by the client device; the domain name resolution server is based on the local domain name resource record.
  • the domain name resource record cache session table is updated according to the cache advertisement message; when the domain name resource record changes, the domain name resolution server initiates the domain name resource to the client device that caches the domain name resource record according to the domain name resource record cache session table. Recorded updates.
  • the domain name resource record cache session table specifically includes: a domain name resource record, a device list that caches the domain name resource record, a cache time, a time-to-live TTL information, and update status information.
  • the domain name server comprises: an authoritative domain name server, and a domain authorization server.
  • the present invention further provides a domain name server, comprising: a first receiving module, configured to receive a cache announcement message sent by the domain name resolution server after the domain name resolution server caches the domain name resource record provided by the domain name server in the domain name resolution process
  • the first table update module is configured to update the pre-set domain name resource record cache session table according to the cached announcement message, wherein the domain name resource record cache session table is used to record the cache information of the domain name resource record.
  • the domain name resource record cache control method includes: a first domain name resource record update module, configured to initiate a domain name to a domain name resolution server that caches a domain name resource record according to the domain name resource record cache session table when the domain name resource record changes Update of resource records.
  • a first domain name resource record update module configured to initiate a domain name to a domain name resolution server that caches a domain name resource record according to the domain name resource record cache session table when the domain name resource record changes Update of resource records.
  • the domain name resource record cache session table specifically includes: a domain name resource record, a device list that caches the domain name resource record, a cache time, a time-to-live TTL information, and update status information;
  • the domain name server includes: an authoritative domain name server, and a domain authorization server .
  • the present invention further provides a domain name resolution server, comprising: a second receiving module, configured to: after the client device caches the domain name resource record provided by the domain name resolution server, receive the cache announcement message sent by the client device;
  • the update module is configured to update, according to the local domain name resource record, the preset domain name resource record cache session table according to the cache announcement message, where the domain name resource record cache session table is used to record the cache information of the domain name resource record; the second domain name resource
  • the record update module is configured to initiate an update of the domain name resource record to the client device that caches the domain name resource record according to the domain name resource record cache session table when the domain name resource record changes.
  • the domain name resource record cache session table specifically includes: a domain name resource record, a device list that caches the domain name resource record, a cache time, a time-to-live TTL information, and update status information.
  • the domain name resource record cache announcement mechanism is added in the existing domain name processing process, and the domain name resource record cache session table is maintained based on the domain name resource record in the domain name server, thereby realizing the domain name resource record cache. Announcement, status maintenance and control, real-time on-demand updates, etc.
  • the problem that the domain name resource record cached in each domain name resolution server in the prior art is not updated in time, so that a large number of non-authorized domain name resource records cached by each domain name resolution server can exist in the network. Controllable and timely update, effectively improve the usability of Internet services and improve user experience.
  • FIG. 2 is a flowchart of a method for controlling a domain name resource record cache according to an embodiment of the present invention
  • FIG. 3 is a signaling flowchart of domain name resolution including a domain name resource record cache announcement process according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a dependency relationship of a domain name resource record cache announcement according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of maintenance of a domain name resource record cache session table according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a domain name resource record cache update relationship according to an embodiment of the present invention.
  • FIG. 7 is a signaling flowchart of a domain name resource record cache update process according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a composition of a domain name resource record cache control system according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a domain name server according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a domain name resolution server according to an embodiment of the present invention.
  • the present invention provides a domain name resource record cache control method and a server, so that a large number of networks exist, The unauthorized domain name resource records cached by each domain name resolution server can be controlled and updated in time, effectively improving the usability of the Internet service and improving the user experience.
  • FIG. 2 is a flowchart of a domain name resource record cache control method according to an embodiment of the present invention. As shown in FIG. 2, a domain name resource according to an embodiment of the present invention is provided.
  • the record cache control method includes the following processing:
  • Step 201 In the domain name resolution process, after the domain name resolution server caches the domain name resource record provided by the domain name server, the domain name server receives the cache announcement message sent by the domain name resolution server.
  • the domain name server includes: an authoritative domain name Server, and domain authorization server.
  • the foregoing process is combined with the domain name resolution processing process to increase the process and the interface of the domain name resource record cache.
  • the domain name resolution server performs the cache of the specific domain name resource record
  • the domain name resolution server needs to be announced.
  • the name server is announced to the server to obtain the domain name resource record information.
  • the terminal device caches the domain name resource record, it also needs to announce when the specific domain name resource record is cached, and from which server the domain name resource record information is announced to which server.
  • domain name resolution server (resolver) is also called a domain name cache server. Because most domain name resolution servers now get the domain name resolution results, many of them will be cached, so they are also called domain name cache servers.
  • Step 202 The domain name server updates the pre-set domain name resource record cache session table according to the local domain name resource record, where the domain name resource record cache session table is used to record the cache information of the domain name resource record.
  • the domain name server receives the cache advertisement message of the domain name resource record, and needs to perform processing, and maintains related state information based on the domain name resource record locally, that is, the cache related information of the domain name resource record is maintained, which is referred to herein as a domain name resource.
  • the domain name resource record cache session table may specifically include: a domain name resolution server information list that caches the domain name resource record, a specific cache time, TTL information, update status information of the domain name resource record, and the like;
  • the authorized domain name resource record maintained by the authoritative domain name server changes, it will be updated synchronously between the authorized domain name servers.
  • the domain name server initiates update of the domain name resource to the domain name resolution server that caches the domain name resource record according to the domain name resource record cache session table when the domain name resource changes.
  • the domain name server has the management and control capability for the domain name resource record cache.
  • the update processing process may be initiated, and the domain name resolution server that has cached the domain name resource record initiates an update request of the domain name resource record cache, and requests to update the domain name resource record cache.
  • the processing method can be applied to the domain name resolution server to initiate the update request of the domain name record cache to the client device, and implement the update of the domain name resource record cache of the client device.
  • the domain name cache update process is that the authorized domain name server directly interacts with the domain name resolution server, and is not restricted by the domain name space authorization level dependency.
  • the domain name resolution server receives the cache announcement message sent by the client device; the domain name resolution server is based on the local domain name resource record, and is preset according to the cache announcement message.
  • the domain name resource record cache session table is updated.
  • the domain name resolution server initiates an update of the domain name resource record to the client device that caches the domain name resource according to the domain name record cache session table.
  • the method for controlling the domain name record cache mainly includes: a domain name cache record announcement, and a domain name cache record state maintenance process to prepare for the process of registering the domain name cache record update;
  • the method for declaring the domain name record cache may be embedded in the process of standard domain name resolution.
  • the cache device also referred to as a reference end
  • Declaring to the authorized domain name server also referred to as: server
  • the server based on the above-mentioned announcement processing of the domain name resource record cache, the server has the means to learn the related information of the specific domain name resource record, and has the initiative to update The ability of the domain name resource record cache.
  • the server maintains the domain name resource record cache session table, and the domain name resource record cache session table can implement fine-grained, real-time management and control based on the domain name resource record;
  • the domain name resource record cache session table maintained by the server may include the cache. Domain name resolution server information list, specific cache time, TTL information, update status information of the domain name resource record, etc.; when the authorized domain name resource record changes, the update process of the domain name resource record cache is triggered; this update
  • the process is a proactive update, which is an active update initiated by the server to the reference end; the process of updating the domain name record cache can be based on the domain name resource maintained by the server to record the cache session table, and the update to all reference ends is implemented.
  • FIG. 3 is a signaling flowchart of a domain name resolution process including a domain name resource record cache announcement process according to an embodiment of the present invention.
  • the domain name resource record cache announcement process is embedded in an existing domain name resolution process.
  • the specific domain name resolution process when the reference end caches the specific domain name resource record locally, it needs to trigger the process of advertising to the server, and announce to the server that the domain name resource record is cached locally.
  • the specific business process flow steps of the domain name resolution processing process including the domain name cache record declaration process are 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 first 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 cannot 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 obtain the domain name resolution in the local domain name cache, the client needs to initiate a domain name resolution request to the domain name resolution server.
  • the domain name resolution server refers to the client configuration, designation, or acquisition from the ISP.
  • Domain name resolution server in general, the domain name resolution server also serves as a domain name cache server;
  • Step 4 After receiving the domain name request, the domain name resolution server first queries the local resource. 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, and the DNS is returned to the client. The result of the analysis is authoritative. If the domain name to be queried is included in the cached area resource record (that is, the unauthorized resource record), the DNS resolution is completed, and the DNS resolution result is returned to the client, and the analysis result does not have authoritative;
  • Step 5 If the local configuration area resource and the cache resource of the domain name resolution server are not resolved, the upper DNS domain name server needs to be parsed. Here, 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.
  • 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, the domain name resource is recorded locally for caching;
  • Step 14 Because the domain name resolution server caches the domain name resource record, in order to implement the controllable and controllable domain name record cache, the server needs to be announced.
  • the domain name resolution server is a domain name resource record obtained from the www.zte.com domain name server, and therefore, the domain name resolution server announces to the www.zte.com domain name server;
  • Step 15 The www.zte.com domain name server receives the announcement information sent by the domain name resolution server, processes and establishes and maintains the domain name resource record cache session table based on the domain name resource record, and maintains the cache condition of the domain name resource record, usage, and update status. Real-time status information;
  • Step 16 The domain name resolution server returns the domain name resolution result to the client.
  • Step 17 After receiving the domain name resolution result, the client caches the domain name resolution result.
  • Step 18 Since the client caches the domain name resolution result, in order to ensure that the domain name resource record cache is manageable and controllable, an announcement is required; here, the client obtains the domain name resolution result obtained from the domain name resolution server and caches the result. Therefore, the client announces to the domain name resolution server;
  • Step 19 The domain name resolution server receives the cache advertisement message of the domain name resource record, and processes and maintains the domain name resource record cache session table based on the domain name resource record, and maintains the cache condition of the domain name resource record, usage, and update status. Such as real-time status information.
  • FIG. 4 is a schematic diagram of the dependency relationship of the domain name resource record cache announcement according to the embodiment of the present invention. As shown in FIG. 4, the overall structure can be divided into three parts. They are domain authorization service groups, non-domain authorization service groups, and clients. among them,
  • the domain authorization service group refers to a collection of authorized domain name servers (also called domain authorization servers) of a specific domain name space, such as: each authorized domain name resolution server of www.zte.com, responsible for the domain name of www.zte.com Analysis, the domain name resolution made is authoritative.
  • each authorized domain name resolution server of www.zte.com responsible for the domain name of www.zte.com Analysis, the domain name resolution made is authoritative.
  • the authoritative domain name server which we refer to here as the authoritative domain name server, that is, the domain name server that ultimately maintains the domain name resource record.
  • the existing IXFR, AXFR and other technologies will update the domain name resource record in the authorized service group to ensure the correctness and authority of the domain name resolution.
  • the non-domain authorization service group generally refers to a collection of domain name resolution servers (also called domain name cache servers), which caches unauthorized domain name resource records, and aims to improve the efficiency of domain name resolution. Because it is an unauthorized domain name resource record, therefore, The domain name resolution made is not authoritative. Unauthorized service groups are not visible to the authorized service group, so when the domain name resource record changes, it cannot be updated to the unauthorized service group.
  • domain name resolution servers also called domain name cache servers
  • a client device refers to various client devices that require domain name resolution.
  • the cache dependency for a specific domain name resource record is that the client device depends on the domain name resolution server, and the domain name resolution server depends on the authorized domain name server.
  • Such a dependency is automatically and dynamically generated in the process of specific domain name resolution. of. This dependency determines the processing of subsequent domain name resource record updates.
  • the client device A and the client device B specify the domain name resolution server A as its domain name resolution server; the client device C and the client device D specify the domain name resolution server B as its domain name resolution server; the client device E and the client device F specify the domain name resolution server C as its domain name resolution server; in the specific domain name resolution process (assuming domain name resolution for www.zte.com), the domain name resolution server A and the domain name resolution server B are authorized from the domain name server.
  • A obtains the parsing result;
  • the domain name resolution server C obtains the parsing result from the authorized domain name server B.
  • the dependency relationship shown in this figure can be formed.
  • FIG. 5 is a schematic diagram of the maintenance of the domain name resource record cache session table according to the embodiment of the present invention. As shown in FIG. 5, the domain name resource record cache session table is established and maintained based on the domain name resource record on the server, thereby realizing the cache of the domain name resource record in the network. Controllable.
  • the server When the server receives the domain name resource record cache announcement message sent by the reference end, it indicates that there is a relevant setting. A specific domain name resource record is cached.
  • the domain name resource record cache session table needs to be established and maintained based on the domain name resource record, so as to implement control of the domain name resource record cache.
  • the domain name server A and the domain name resolution server B are taken as an example for explanation:
  • the domain name resolution server B obtains the domain name resolution result from the domain name server A.
  • the domain name resource record is cached locally, and the domain name resolution server B announces to the domain name server A.
  • the domain name resource record A is cached.
  • the domain name server A establishes a domain name resource record cache session table based on the domain name resource record A, and maintains related state information, which may include a domain name resource record, a reference time, and a reference.
  • the update status, etc. is used to control the cache of the domain name resource record.
  • domain name resolution server B optionally, related entries are established, which facilitates better interaction with the domain name server A and control of the domain name resource record cache. For example, based on the domain name resource record A, the local cache record A is locally cached, the reference source, and the last update time.
  • the domain name resolution server B and the domain name server A can exchange information on demand to maintain and update the domain name record cache.
  • FIG. 6 is a schematic diagram of a domain name resource record cache update relationship according to an embodiment of the present invention.
  • the domain name resource record cache update relationship diagram of the embodiment of the present invention is derived from a dependency relationship of a domain name resource record cache announcement, and is a domain name resource.
  • the record cache declares a reverse association of dependencies. Based on the announcement of the domain name resource record cache and the maintenance of the domain name resource record cache session table, the update relationship diagram of the domain name resource record cache can be realized, and the active update is implemented.
  • the IP address corresponding to www.zte.com included in the domain name resource record A is originally 1.1.1.1, and now changes to 2.2.2.2.
  • the domain name resource record changes it will be updated synchronously in the domain authorization service group, using existing technologies, such as: IXFR, AXFR, and so on.
  • the non-domain authorized service group (the unauthorised domain name resource record cached in the domain name resolution server) cannot be updated.
  • the establishment and maintenance of the domain name resource record cache session table can realize real-time and active update of the domain name resource record cache (unauthorized domain name resource record).
  • the domain name resource record A contains the following information: The IP address corresponding to www.zte.com is 2.2.2.2. View the locally maintained domain name resource record cache session table. After the domain name resolution server A and the domain name resolution server B announce the domain name resource record A, the domain name resource record A is updated to the domain name resolution server A and the domain name resolution server B respectively; after the domain name resource record is authorized to be synchronized, View the domain name resource record cache session table maintained by the local domain, and find that the domain name resolution server C announces the domain name resource record A, and then update the domain name resource record A to the domain name resolution server C;
  • the domain name resolution server A updates the domain name resource record A
  • it checks the locally maintained domain name resource record cache session table, and finds that the client device A and the client device B announce the domain name resource record A, and then Do not update the domain name resource record A to the client device A and the client device B.
  • the domain name resolution server B updates the domain name resource record A, view the locally maintained domain name resource record cache session table, and find the client device C and the client device D.
  • the domain name resource record A is announced, the domain name resource record A is updated to the client device C and the client device D respectively.
  • the domain name resolution server C checks the locally maintained domain name resource record cache session table and finds the client.
  • the end device E and the client device F announce the domain name resource record A, and then update the domain name resource record A to the client device E and the client device F respectively;
  • FIG. 7 is a signaling flowchart of a domain name resource record cache update process according to an embodiment of the present invention.
  • the domain name resource record cache may be performed based on the foregoing domain name resource record cache announcement and domain name resource record cache session table maintenance.
  • Active update such an update is independent of the authorization partition of the domain name space, does not depend on the parent-child dependency of the domain name space.
  • the specific update process is as follows:
  • Step 1 The domain name resource record maintained by the domain name server has changed.
  • www.zte.com As an example.
  • the content of the original domain name resource record includes: the IP address corresponding to www.zte.com is 1.1.1.1; the current change is: the IP address corresponding to www.zte.com is 2.2.2.2; at this time, the domain name resource record cache needs to be triggered to be updated. ;
  • Step 2 The domain name server queries the locally maintained domain name resource record cache session table, and initiates an update to all domain name resolution servers that cache the domain name resource record.
  • the www.zte.com domain name server queries the domain name resolution server to reference the domain name record, and therefore directly initiates the update of the domain name resource record corresponding to www.zte.com to the domain name resolution server, such update does not depend on the domain name space.
  • the authorization division does not depend on the strict parent-child dependency of the domain name space;
  • Step 3 After the domain name resolution server updates the domain name record cache, returns the update feedback information to the www.zte.com domain name server;
  • Step 4 After the domain name resource record of the domain name resolution server is updated, the downward domain name resource record update action is triggered; the domain name resolution server queries the locally maintained domain name resource record cache session table, and the client announces that the domain name resource record is cached. Initiating a domain name resource record update to the client, requesting to update the domain name resource record information;
  • Step 5 After receiving the domain name resource record update request, the client updates the local domain name cache and returns an update feedback message to the domain name resolution server.
  • the update of the domain name resource record cache is dynamic, real-time, and active, based on the update dependencies formed by the domain name resource record cache announcement and the domain name resource record cache session table, and is directly updated, and does not depend on the existing domain name space division and authorization, and does not Relies on parent-child associations with existing step-by-step authorizations. It is specially designed to update the domain name resource record cache (unauthorized domain name resource record).
  • FIG. 8 is a schematic diagram of a composition of a domain name resource record cache control system according to an embodiment of the present invention. As shown in FIG. 8 , the system is mainly divided into a reference end and a server.
  • the reference end mainly includes a domain name resource record cache module, a cache announcement module, and a cache update processing module;
  • a domain name resource record caching module configured to cache a specific domain name resource record
  • the cache announcement module is used to implement the declaration of the domain name resource record cache, and coordinate with the server to complete the domain name resource. Record cache declaration process;
  • the cache update processing module is configured to implement update of the domain name resource record cache, and coordinate with the server to complete the update process of the domain name resource record cache.
  • the server mainly includes a cache announcement processing module, a state maintenance module, and a cache record update module.
  • the cache announcement processing module is configured to process the cache announcement message sent by the reference end, and coordinate with the reference end to complete the announcement processing process of the domain name resource record cache;
  • the state maintenance module is configured to establish and maintain a domain name resource record cache session table, maintain various information and status of the domain name resource record cache, and implement controllable and controllable domain name resource record cache;
  • the cache record update module is configured to implement an update operation of the domain name resource record cache, and coordinate with the reference end to complete the update process of the domain name resource record cache.
  • the domain name resource record cache announcement process when the reference end needs to cache a specific domain name resource record in the local domain name resolution process, the domain name resource record is cached in the domain name resource record cache module, and the cache announcement module is triggered to serve The end of the announcement; the server's cache declaration processing module receives the announcement message sent by the reference end, performs corresponding processing, and invokes the state maintenance module to enter the state maintenance processing process;
  • the state maintenance module establishes and maintains a domain name resource record cache session table based on the domain name resource record, and maintains related information and status of the domain name resource record cache.
  • the domain name resource record cache update process when the domain name resource record of the server is changed, the domain name resource record cache session table maintained by the state maintenance module is changed, and the state corresponding to the domain name resource record is changed to the state to be updated, and is called.
  • the cache record update module processes the domain name record cache update message to the reference end; after receiving the update message, the reference end cache update processing module performs corresponding processing, updates the domain name record cache, and returns the execution result to the server; the server cache After receiving the execution result, the record update module further updates the domain name resource record cache session table information in the state maintenance module.
  • the domain name resource record cache announcement process and method are added in the standard domain name parsing process, and the domain name resource record cache session table is added on the server to implement the domain name resource.
  • the record cache can be controlled and controlled, and the real-time, dynamic and active update of the domain name resource record cache can be realized, and the current domain name cache record can be solved, that is, the problem that the unauthorized domain name resource record is uncontrollable and cannot be updated in real time, and the domain name can be effectively improved.
  • Improve the correct rate of domain name improve the usability of domain name resolution, and improve the business experience of Internet users.
  • FIG. 9 is a schematic structural diagram of a domain name server according to an embodiment of the present invention.
  • the domain name server according to the embodiment of the present invention includes: a first receiving module 92, And the first table update module 94, the following describes each module of the embodiment of the present invention in detail.
  • the first receiving module 92 (corresponding to the cache announcement processing module in the foregoing method embodiment) is configured to receive the domain name resource after the domain name resolution server caches the domain name resource provided by the domain name server in the domain name resolution process. a cache announcement message sent by the name resolution server;
  • the first table update module 94 (corresponding to the state maintenance module in the foregoing method embodiment) is configured to update, according to the local domain name resource record, the preset domain name resource record cache session table according to the cache announcement message, where the domain name resource record
  • the cache session table is used to record cache information of domain name resource records.
  • the domain name resource record cache session table specifically includes: a domain name resource record, a device list that caches the domain name resource record, a cache time, a lifetime TTL information, and update status information;
  • the domain name server of the embodiment of the present invention further includes: a first domain name resource record update module (corresponding to the cache record update module in the foregoing method embodiment), configured to record a cache session table according to the domain name resource record when the domain name resource record changes
  • a first domain name resource record update module (corresponding to the cache record update module in the foregoing method embodiment), configured to record a cache session table according to the domain name resource record when the domain name resource record changes
  • the domain name resolution server that caches the domain name resource record initiates an update to the domain name resource record.
  • the domain name server includes: an authoritative domain name server, and a domain authorization server.
  • FIG. 10 is a schematic structural diagram of a domain name resolution server according to an embodiment of the present invention.
  • a domain name cache server according to an embodiment of the present invention includes: The module 100, the second table update module 102, and the second domain name resource update module 104 are described in detail below for each module of the embodiment of the present invention.
  • the second receiving module 100 is configured to: after the client device caches the domain name resource record provided by the domain name resolution server, receive the cache announcement message sent by the client device;
  • the second table update module 102 is configured to update, according to the local domain name resource record, the preset domain name resource record cache session table according to the cache announcement message, where the domain name resource record cache session table is used to record the cache information of the domain name resource record;
  • the domain name resource record cache session table specifically includes: a domain name resource record, a device list that caches the domain name resource record, a cache time, a time-to-live TTL information, and update status information.
  • the second domain name resource record update module 104 is configured to initiate an update of the domain name resource record to the client device that caches the domain name resource record according to the domain name resource record cache session table when the domain name resource record changes.
  • the domain name resource record cache announcement mechanism is added in the existing domain name processing process, and the domain name resource record cache session table is maintained based on the domain name resource record in the domain name server, thereby
  • the functions of the domain name resource record cache, the state maintenance and control, and the real-time on-demand update function solve the problems caused by the domain name resource records cached in the domain name resolution servers in the prior art, which are not updated in time.
  • a large number of non-authorized domain name resource records cached by each domain name resolution server can be controlled and updated in time, effectively improving the usability of the Internet service and improving the user experience.
  • modules in the client in the embodiment can be adaptively changed and placed in one or more clients different from the embodiment.
  • the modules in the embodiments can be combined into one module, and further they can be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the appended claims, the abstract and the drawings, and any such disclosure may be employed in any combination.
  • the method or all the processes or units of the client are combined.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components loaded with the ordered web address in accordance with an embodiment of the present invention.
  • the invention may also be embodied as a device or device program (eg, a computer program and/or a program for performing some or all of the methods described herein) Computer program product).
  • Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • the invention is applicable to the field of computer networks, and is used for realizing timely updating of domain name resource records cached in each domain name resolution server.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

La présente invention concerne un serveur et un procédé de commande de mise en cache d'enregistrements de nom de domaine. Le procédé comprend les étapes consistant : au cours d'une procédure de résolution de nom de domaine, après l'implémentation de la mise en cache sur un serveur de résolution de nom de domaine d'un enregistrement de ressource de nom de domaine fourni par un serveur de nom de domaine, le serveur de nom de domaine reçoit un message d'annonce de mise en cache envoyé par le serveur de résolution de nom de domaine; le serveur de nom de domaine, selon un enregistrement de ressource de nom de domaine local, et sur la base du message d'annonce de mise en cache, met à jour une liste de session de mise en cache d'enregistrement de ressource de nom de domaine prédéfini, la liste de session de mise en cache d'enregistrement de ressource de nom de domaine étant utilisée pour enregistrer des informations d'état de mise en cache de l'enregistrement de ressource de nom de domaine. La solution technique de la présente invention permet d'améliorer la disponibilité des services Internet et d'améliorer l'expérience utilisateur.
PCT/CN2016/073821 2015-07-01 2016-02-15 Serveur et procédé de commande de mise en cache d'enregistrements de ressource de nom de domaine WO2017000561A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510374990.X 2015-07-01
CN201510374990.XA CN106331201A (zh) 2015-07-01 2015-07-01 域名资源记录缓存控制方法及服务器

Publications (1)

Publication Number Publication Date
WO2017000561A1 true WO2017000561A1 (fr) 2017-01-05

Family

ID=57607681

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/073821 WO2017000561A1 (fr) 2015-07-01 2016-02-15 Serveur et procédé de commande de mise en cache d'enregistrements de ressource de nom de domaine

Country Status (2)

Country Link
CN (1) CN106331201A (fr)
WO (1) WO2017000561A1 (fr)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111182059A (zh) * 2019-12-30 2020-05-19 互联网域名系统北京市工程研究中心有限公司 一种域名缓存更新的查询解析方法
CN112689030A (zh) * 2020-12-31 2021-04-20 网根(南京)网络中心有限公司 Dns缓存更新方法及系统
EP3879409A1 (fr) 2018-06-22 2021-09-15 Renesas Electronics Corporation Dispositif semi-conducteur et générateur de bus
CN114124888A (zh) * 2020-08-25 2022-03-01 中国移动通信有限公司研究院 一种域名解析方法及装置

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108462759B (zh) * 2017-02-22 2021-12-21 南昌黑鲨科技有限公司 域名解析方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805450A (zh) * 2005-01-10 2006-07-19 华为技术有限公司 在域名系统dns机制中实现服务器与客户端数据同步的方法
CN102137174A (zh) * 2010-12-29 2011-07-27 华为技术有限公司 域名系统缓存的方法、授权域名服务器、缓存域名服务器
CN103856569A (zh) * 2012-11-28 2014-06-11 方正宽带网络服务股份有限公司 一种同步域名系统资源信息的方法及设备
CN104427011A (zh) * 2013-09-02 2015-03-18 中兴通讯股份有限公司 域名解析的方法、域名缓存服务器及最终域名服务器

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140059071A1 (en) * 2012-01-11 2014-02-27 Saguna Networks Ltd. Methods, circuits, devices, systems and associated computer executable code for providing domain name resolution
CN102984286B (zh) * 2012-11-14 2015-03-04 上海牙木通讯技术有限公司 一种dns服务器的缓存更新方法、装置及系统
CN104935683A (zh) * 2015-06-29 2015-09-23 北京经天科技有限公司 用于域名解析的缓存处理方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805450A (zh) * 2005-01-10 2006-07-19 华为技术有限公司 在域名系统dns机制中实现服务器与客户端数据同步的方法
CN102137174A (zh) * 2010-12-29 2011-07-27 华为技术有限公司 域名系统缓存的方法、授权域名服务器、缓存域名服务器
CN103856569A (zh) * 2012-11-28 2014-06-11 方正宽带网络服务股份有限公司 一种同步域名系统资源信息的方法及设备
CN104427011A (zh) * 2013-09-02 2015-03-18 中兴通讯股份有限公司 域名解析的方法、域名缓存服务器及最终域名服务器

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3879409A1 (fr) 2018-06-22 2021-09-15 Renesas Electronics Corporation Dispositif semi-conducteur et générateur de bus
CN111182059A (zh) * 2019-12-30 2020-05-19 互联网域名系统北京市工程研究中心有限公司 一种域名缓存更新的查询解析方法
CN111182059B (zh) * 2019-12-30 2022-10-28 互联网域名系统北京市工程研究中心有限公司 一种域名缓存更新的查询解析方法
CN114124888A (zh) * 2020-08-25 2022-03-01 中国移动通信有限公司研究院 一种域名解析方法及装置
CN112689030A (zh) * 2020-12-31 2021-04-20 网根(南京)网络中心有限公司 Dns缓存更新方法及系统
CN112689030B (zh) * 2020-12-31 2023-01-20 网根(南京)网络中心有限公司 Dns缓存更新方法及系统

Also Published As

Publication number Publication date
CN106331201A (zh) 2017-01-11

Similar Documents

Publication Publication Date Title
WO2017000561A1 (fr) Serveur et procédé de commande de mise en cache d'enregistrements de ressource de nom de domaine
JP6861219B2 (ja) インテリジェントドメインネームシステム転送のための方法および装置
US20230216884A1 (en) Method for minimizing the risk and exposure duration of improper or hijacked dns records
US8463915B1 (en) Method for reducing DNS resolution delay
US8966121B2 (en) Client-side management of domain name information
US7908317B2 (en) System and method for URL compression
TWI652585B (zh) 遠端查詢訊息的方法及伺服器
US10560422B2 (en) Enhanced inter-network monitoring and adaptive management of DNS traffic
CN103905572B (zh) 域名解析请求的处理方法及装置
WO2017054526A1 (fr) Procédé et dispositif de génération d'entrée de protocole de résolution d'adresse (arp)
US20110119306A1 (en) User-Based DNS Server Access Control
JP2003244184A (ja) ドメインネームの管理方法及びこれに適した装置
US20100281146A1 (en) Dynamic domain name service system and automatic registration method
WO2013143403A1 (fr) Procédé et système pour accéder à un site web
WO2018233312A1 (fr) Procédé, appareil et système de défense contre des attaques dns
WO2015039475A1 (fr) Procédé, serveur et système de résolution de nom de domaine
US7965630B1 (en) Load balancing port proxy for dynamically controlling routing of query requests
US10749901B2 (en) Associating a policy-based firewall with a dynamic DNS hostname
US20120246215A1 (en) Identying users of remote sessions
JP2004112018A (ja) インターネットアクセスWeb監視制御システム
WO2013120315A1 (fr) Procédé de traitement d'information de nom de domaine, routeur sans fil, et client
WO2017000669A1 (fr) Procédé de commande de gestion centralisée, appareil, et dispositif associé pour la mise en cache d'enregistrements de ressources de noms de domaine
CN103380607A (zh) Dns客户端地址、rr ttl更新的方法、装置及系统
CN115242882B (zh) 一种基于传输层路由访问k8s容器环境的方法及装置
Elsaleh et al. Service continuity for subscribers of the mobile real world Internet

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: 16816926

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: 16816926

Country of ref document: EP

Kind code of ref document: A1