Method, device, equipment, medium and product for determining scope of recursive resolution service

By extracting the domain name recursive resolution information from the parsing log of the domain name resolution system, determining the actual address and service scope of the recursive resolution server, the problem of difficulty in determining the service scope of the recursive resolution server in the prior art is solved, and accurate service scope determination is achieved.

CN119254748BActive Publication Date: 2025-03-25CHINA ACADEMY OF INFORMATION & COMM
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411775046.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-03-25
Estimated Expiration
2044-12-04

AI Technical Summary

Technical Problem

The prior art is difficult to determine the service scope of a recursive resolution server, especially when different deployment locations use the same IP address.

Method used

By extracting multiple domain name recursive resolution information from the resolution log of the secondary domain name resolution server in the domain name resolution system, the client address and the network protocol address of the recursive resolution server are determined, and the service scope of the recursive resolution server is determined based on the actual address and correspondence relationship.

Benefits of technology

It realizes the rapid and accurate determination of the service scope of multiple recursive resolution servers in the domain name resolution system, and solves the problem that the service scope is difficult to determine.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119254748B_ABST
    Figure CN119254748B_ABST
Patent Text Reader

Abstract

The disclosed embodiment discloses a method, device, equipment, medium and product for determining the scope of recursive resolution service, wherein the method includes: extracting multiple domain name recursive resolution information from the resolution log of the secondary domain name resolution server in the domain name resolution system; determining multiple client addresses and network protocol addresses of multiple recursive resolution servers corresponding to the multiple domain name recursive resolution information; determining the actual addresses of the multiple recursive resolution servers based on the network protocol addresses of the multiple recursive resolution servers; determining the service scope of the multiple recursive resolution servers based on the actual addresses of the multiple recursive resolution servers and the domain name recursive resolution correspondence between the multiple client addresses and the network protocol addresses of the multiple recursive resolution servers. The disclosed embodiment can quickly and accurately obtain the service scope of multiple recursive resolution servers in the domain name resolution system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to domain name resolution technology, and in particular to a method, device, equipment, medium and product for determining a recursive resolution service scope. Background Art

[0002] Recursive domain name resolution means that when performing domain name resolution (Domain Name System, DNS), the domain name system will recursively query multiple DNS servers until the IP address of the target domain name is found.

[0003] Currently, recursive resolution services on the Internet use anycast to provide domain name resolution for users. Users can directly configure these service addresses, but because the Internet Protocol (IP) addresses used in different deployment locations are the same, it is difficult to determine the service scope of the recursive resolution server. Summary of the invention

[0004] The embodiments of the present disclosure provide a method, apparatus, device, medium and product for determining a recursive resolution service scope to solve the above-mentioned problem.

[0005] According to a first aspect of an embodiment of the present disclosure, a method for determining a recursive resolution service scope is provided, comprising:

[0006] Extracting multiple domain name recursive resolution information from the resolution log of the secondary domain name resolution server in the domain name resolution system;

[0007] Determine multiple client addresses and network protocol addresses of multiple recursive resolution servers corresponding to the multiple domain name recursive resolution information;

[0008] Determining actual addresses of the multiple recursive resolution servers based on the network protocol addresses of the multiple recursive resolution servers;

[0009] Based on the actual addresses of the multiple recursive resolution servers and the domain name recursive resolution correspondence between the multiple client addresses and the network protocol addresses of the multiple recursive resolution servers, the service scopes of the multiple recursive resolution servers are determined.

[0010] In some embodiments of the present disclosure, determining the actual addresses of the multiple recursive resolution servers based on the network protocol addresses of the multiple recursive resolution servers includes:

[0011] Based on at least one of the egress network protocol address, identification code and name information of each recursive resolution server in the multiple recursive resolution servers, the actual address of each recursive resolution server is determined, wherein the actual addresses of the multiple recursive resolution servers include the actual address of each recursive resolution server.

[0012] In some embodiments of the present disclosure, the plurality of client addresses include network protocol addresses of a plurality of clients;

[0013] The determining the service scopes of the multiple recursive resolution servers based on the actual addresses of the multiple recursive resolution servers and the domain name recursive resolution correspondences between the multiple client addresses and the network protocol addresses of the multiple recursive resolution servers includes:

[0014] Determining actual addresses of the multiple clients based on the network protocol addresses of the multiple clients;

[0015] Determining a domain name recursive resolution service relationship between the actual addresses of the multiple clients and the actual addresses of the multiple recursive resolution servers based on a domain name recursive resolution correspondence relationship between the multiple client addresses and the network protocol addresses of the multiple recursive resolution servers;

[0016] Based on the domain name recursive resolution service relationship between the actual addresses of the multiple clients and the actual addresses of the multiple recursive resolution servers, the service ranges of the multiple recursive resolution servers are determined.

[0017] In some embodiments of the present disclosure, before extracting a plurality of domain name recursive resolution information from the resolution log of the secondary domain name resolution server in the domain name resolution system, the method further includes:

[0018] The multiple recursive domain name resolution information is obtained based on multiple clients on multiple terminals sending multiple recursive domain name resolution requests to the domain name resolution system, and the domain name resolution system performing domain name resolution on the multiple recursive domain name resolution requests to obtain multiple domain name recursive resolution information, wherein the multiple terminals are distributed in multiple regions.

[0019] In some embodiments of the present disclosure, each of the multiple recursive domain name resolution requests includes: the network protocol address of the client, the network protocol address of the target recursive resolution server, the target address for requesting recursive domain name resolution, and field information representing the actual address of the client.

[0020] In some embodiments of the present disclosure, the domain name resolution system adopts an anycast method to provide recursive resolution services.

[0021] According to a second aspect of an embodiment of the present disclosure, a device for determining a recursive resolution service scope is provided, including:

[0022] An information extraction module, used to extract multiple domain name recursive resolution information from the resolution log of the secondary domain name resolution server in the domain name resolution system;

[0023] An address information determination module, used to determine a plurality of client addresses and a plurality of network protocol addresses of recursive resolution servers corresponding to the plurality of domain name recursive resolution information;

[0024] An actual address determination module, configured to determine the actual addresses of the plurality of recursive resolution servers based on the network protocol addresses of the plurality of recursive resolution servers;

[0025] The service range determination module is used to determine the service ranges of the multiple recursive resolution servers based on the actual addresses of the multiple recursive resolution servers and the domain name recursive resolution correspondences between the multiple client addresses and the network protocol addresses of the multiple recursive resolution servers.

[0026] In some embodiments of the present disclosure, the actual address determination module is used to determine the actual address of each recursive resolution server among the multiple recursive resolution servers based on at least one of the export network protocol address, identification code and name information of each recursive resolution server, wherein the actual addresses of the multiple recursive resolution servers include the actual address of each recursive resolution server.

[0027] In some embodiments of the present disclosure, the plurality of client addresses include network protocol addresses of a plurality of clients;

[0028] Among them, the service scope determination module is used to determine the actual addresses of the multiple clients based on the network protocol addresses of the multiple clients; the service scope determination module is also used to determine the domain name recursive resolution service relationship between the actual addresses of the multiple clients and the actual addresses of the multiple recursive resolution servers based on the domain name recursive resolution correspondence between the multiple client addresses and the network protocol addresses of the multiple recursive resolution servers; the service scope determination module is also used to determine the service scope of the multiple recursive resolution servers based on the domain name recursive resolution service relationship between the actual addresses of the multiple clients and the actual addresses of the multiple recursive resolution servers.

[0029] In some embodiments of the present disclosure, the device further includes:

[0030] A domain name recursive resolution information acquisition module is used to obtain the multiple domain name recursive resolution information based on multiple clients on multiple terminals sending multiple domain name recursive resolution requests to the domain name resolution system, and the domain name resolution system performing domain name resolution on the multiple domain name recursive resolution requests to obtain multiple domain name recursive resolution information, wherein the multiple terminals are distributed in multiple regions.

[0031] In some embodiments of the present disclosure, each of the multiple recursive domain name resolution requests includes: the network protocol address of the client, the network protocol address of the target recursive resolution server, the target address for requesting recursive domain name resolution, and field information representing the actual address of the client.

[0032] In some embodiments of the present disclosure, the domain name resolution system adopts an anycast method to provide recursive resolution services.

[0033] According to a third aspect of the present disclosure, an electronic device is provided, including:

[0034] a memory for storing a computer program product;

[0035] The processor is used to execute the computer program product stored in the memory, and when the computer program product is executed, the method described in the first aspect above is implemented.

[0036] According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method described in the first aspect is implemented.

[0037] According to a fifth aspect of the embodiments of the present disclosure, a computer program product is provided, comprising computer program instructions, which, when executed by a processor, enable the processor to execute the method described in the first aspect.

[0038] The method, apparatus, device, medium and product for determining the recursive resolution service scope of the disclosed embodiments, since the secondary domain name resolution server in the domain name resolution system can obtain all domain name recursive query requests and corresponding domain name query results processed by the domain name resolution system, and store them in the resolution log of the secondary domain name resolution server, multiple domain name recursive resolution information can be extracted from the resolution log of the secondary domain name resolution server, and then the actual addresses of the multiple recursive resolution servers and the domain name recursive resolution correspondences between the multiple client addresses and the network protocol addresses of the multiple recursive resolution servers can be determined according to the multiple domain name recursive resolution information, so that the service scopes of the multiple recursive resolution servers in the domain name resolution system can be quickly and accurately obtained.

[0039] The technical solution of the present disclosure is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0041] The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:

[0042] Figure 1 A flowchart of a method for determining a recursive resolution service scope in one embodiment of the present disclosure;

[0043] Figure 2 is a flowchart of step S4 in some embodiments of the present disclosure;

[0044] Figure 3 is a schematic diagram of determining the service scope of a recursive resolution server in an example of the present disclosure;

[0045] Figure 4 It is a structural block diagram of a device for determining a recursive resolution service scope in one embodiment of the present disclosure;

[0046] Figure 5 The structure block diagram of an electronic device in one embodiment of the present disclosure. DETAILED DESCRIPTION

[0047] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.

[0048] Those skilled in the art can understand that the terms "first" and "second" in the embodiments of the present disclosure are only used to distinguish different steps, devices or modules, etc., and neither represent any specific technical meaning nor indicate the necessary logical order between them.

[0049] It should also be understood that in the embodiments of the present disclosure, “plurality” may refer to two or more than two, and “at least one” may refer to one, two, or more than two.

[0050] It should also be understood that any component, data or structure mentioned in the embodiments of the present disclosure can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.

[0051] In addition, the term "and / or" in the present disclosure is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present disclosure generally indicates that the associated objects before and after are in an "or" relationship.

[0052] It should also be understood that the description of the various embodiments in the present disclosure focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.

[0053] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0054] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0055] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0056] The embodiments of the present disclosure can be applied to electronic devices such as terminal devices, computer systems, servers, etc., which can operate with many other general or special computing system environments or configurations. Examples of well-known terminal devices, computing systems, environments and / or configurations suitable for use with electronic devices such as terminal devices, computer systems, servers, etc. include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.

[0057] Electronic devices such as terminal devices, computer systems, servers, etc. can be described in the general context of computer system executable instructions (such as program modules) executed by computer systems. Generally, program modules can include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers can be implemented in distributed cloud computing environments, where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules can be located on local or remote computing system storage media including storage devices.

[0058] Figure 1 FIG. 1 is a flow chart of a method for determining a recursive resolution service scope in one embodiment of the present disclosure. Figure 1 As shown, the method for determining the recursive resolution service scope includes the following steps:

[0059] S1: extracting multiple domain name recursive resolution information from the resolution log of the secondary domain name resolution server in the domain name resolution system.

[0060] A secondary domain name resolution server and multiple clients are deployed in the domain name resolution system. The multiple terminals where the multiple clients are located can be distributed in multiple different regions. The secondary domain name resolution server is a server independent of each recursive resolution server of the domain name resolution system. The secondary domain name resolution server is used to record all domain name recursive query requests and corresponding domain name resolution results through resolution logs when the domain name resolution system processes domain name recursive query requests, and store each domain name recursive query request and corresponding domain name resolution result as a domain name recursive resolution information.

[0061] A plurality of domain name recursive resolution information is extracted from the resolution log of the secondary domain name resolution server. For example, all domain name recursive resolution information within a preset time period can be extracted from the resolution log.

[0062] S2: Determine multiple client addresses and multiple network protocol addresses of recursive resolution servers corresponding to multiple domain name recursive resolution information.

[0063] For each of the multiple recursive domain name resolution information, extract the client address that sends the recursive domain name resolution request, and extract the network protocol address of the recursive resolution server that processes the recursive domain name resolution request, thereby obtaining multiple client addresses and network protocol addresses of multiple recursive resolution servers corresponding to the multiple recursive domain name resolution information. The client address may include the Internet Protocol (IP) address of the client. The network protocol address of the recursive resolution server may include an IP address used to determine the actual location of the recursive resolution server, such as the egress IP address of the recursive resolution server.

[0064] S3: Determine actual addresses of the multiple recursive resolution servers based on the network protocol addresses of the multiple recursive resolution servers.

[0065] For each network protocol address of a plurality of recursive resolution servers, the actual address of each recursive resolution server can be determined by IP address positioning.

[0066] S4: Determine the service ranges of the multiple recursive resolution servers based on the actual addresses of the multiple recursive resolution servers and the domain name recursive resolution correspondence between the multiple client addresses and the network protocol addresses of the multiple recursive resolution servers.

[0067] Based on the domain name recursive resolution correspondence between multiple client addresses and the network protocol addresses of multiple recursive resolution servers, the multiple client addresses of the domain name recursive resolution service processed by each recursive resolution server in the multiple recursive resolution servers can be determined. Combined with the multiple actual addresses corresponding to the multiple client addresses, the actual addresses of all clients when each recursive resolution server provides the domain name recursive resolution service can be obtained, and then the service scope of each recursive resolution server can be determined.

[0068] In this embodiment, since the secondary domain name resolution server in the domain name resolution system can obtain all domain name recursive query requests and corresponding domain name query results processed by the domain name resolution system, and store them in the resolution log of the secondary domain name resolution server, multiple domain name recursive resolution information can be extracted from the resolution log of the secondary domain name resolution server, and then the actual addresses of the multiple recursive resolution servers and the domain name recursive resolution correspondence between the multiple client addresses and the network protocol addresses of the multiple recursive resolution servers can be determined based on the multiple domain name recursive resolution information, so that the service scope of the multiple recursive resolution servers in the domain name resolution system can be quickly and accurately obtained.

[0069] In some embodiments of the present disclosure, step S3 may specifically include: determining the actual address of each recursive resolution server based on at least one of the export network protocol address, identification code and name information of each recursive resolution server among the multiple recursive resolution servers, wherein the actual addresses of the multiple recursive resolution servers include the actual address of each recursive resolution server.

[0070] For each of the multiple recursive resolution servers, the exit IP address of the recursive resolution server and the identification code obtained after completing the registration with the address registration agency, that is, the name information of the recursive resolution server, can be obtained.

[0071] Among them, the exit IP address of the recursive resolution server refers to the IP address used when connecting from the local network of the recursive resolution server to the public Internet. The exit IP address is allocated by the service provider of the public Internet, and the actual address of the recursive resolution server corresponding to the exit IP address can be extracted from the registration information by the service provider of the public Internet.

[0072] For the identification code obtained after completing registration with the address registration agency, the registration address of the recursive resolution server corresponding to the identification code can be queried from the registration information of the recursive resolution server through the address registration agency as the actual address of the recursive resolution server.

[0073] For the name information of the recursive resolution server, the actual address of the corresponding recursive resolution server can be queried through the network. For example, the actual address of the recursive resolution server corresponding to the name information of the recursive resolution server can be queried through the correspondence between the name information and the actual address of the recursive resolution server published on the network.

[0074] In this embodiment, since the actual address of the recursive resolution server can be located through the export network protocol address, identification code and name information of the recursive resolution server, the actual address of each recursive resolution server can be quickly and accurately obtained based on at least one of the export network protocol address, identification code and name information of each recursive resolution server.

[0075] Figure 2 FIG. 4 is a flow chart of step S4 in some embodiments of the present disclosure. Figure 2 As shown, in some embodiments of the present disclosure, the multiple client addresses include network protocol addresses of multiple clients, such as the IP address of each of the multiple clients. Correspondingly, step S4 may include the following steps:

[0076] S4-1: Determine actual addresses of the multiple clients based on the network protocol addresses of the multiple clients.

[0077] For each of the network protocol addresses of the multiple clients, the actual address of each client can be determined by address positioning. For example, for each client's IP address, the actual address of each client can be queried through the IP address.

[0078] S4-2: Based on the domain name recursive resolution correspondence between the multiple client addresses and the network protocol addresses of the multiple recursive resolution servers, determine the domain name recursive resolution service relationship between the actual addresses of the multiple clients and the actual addresses of the multiple recursive resolution servers.

[0079] From the domain name recursive resolution correspondence between multiple client addresses and multiple network protocol addresses of recursive resolution servers, the client address in each domain name recursive resolution information and the network protocol address of the corresponding recursive resolution server are extracted.

[0080] By counting all the client addresses corresponding to each recursive resolution server in the above multiple domain name recursive resolution information, the actual addresses of all clients are obtained by locating the client addresses, and the corresponding relationship between each client address (such as IP address or physical address) and the actual address of the client is combined to obtain the domain name recursive resolution service relationship between the actual addresses of multiple clients and the actual addresses of multiple recursive resolution servers.

[0081] S4-3: Determine the service ranges of the multiple recursive resolution servers based on the domain name recursive resolution service relationship between the actual addresses of the multiple clients and the actual addresses of the multiple recursive resolution servers.

[0082] According to the actual address of each recursive resolution server and the actual addresses of all clients corresponding to each recursive resolution server obtained from the domain name recursive resolution service relationship between the actual addresses of multiple clients and the actual addresses of multiple recursive resolution servers, the service scope of each recursive resolution server, that is, the service scope of the above-mentioned multiple recursive resolution servers, can be determined.

[0083] In this embodiment, since the actual address of the client can be located through the network protocol address of the client, the domain name recursive resolution correspondence between multiple client addresses and the network protocol addresses of multiple recursive resolution servers, combined with the correspondence between the network protocol address of the client and the actual address of the client, can be counted to obtain the actual addresses of all clients corresponding to each recursive resolution server, thereby accurately determining the service scope of each recursive resolution server.

[0084] In some embodiments of the present disclosure, before step S1, the following steps may also be included:

[0085] S0: multiple clients on multiple terminals send multiple domain name recursive resolution requests to a domain name resolution system, and the domain name resolution system performs domain name resolution on the multiple domain name recursive resolution requests to obtain multiple domain name recursive resolution information. The multiple terminals are distributed in multiple regions.

[0086] Multiple clients on multiple terminals distributed in multiple different regions are used to send multiple domain name recursive resolution requests to the domain name resolution system, wherein each domain name recursive resolution request may include the client address, the address information of the target recursive resolution server, and the target address for domain name resolution.

[0087] After the domain name resolution system receives multiple domain name recursive resolution requests, the target domain name recursive resolution server corresponding to each domain name recursive resolution request performs domain name resolution on the target address, feeds back the domain name resolution result to the corresponding client, and sends the client address and address information of the target domain name recursive resolution server corresponding to each domain name recursive resolution request to the secondary domain name resolution server. The resolution log of the secondary domain name resolution server stores the client address and address information of the target domain name recursive resolution server corresponding to each domain name recursive resolution request, so as to determine the service scope of each recursive resolution server.

[0088] Figure 3 FIG. 1 is a schematic diagram of determining the service scope of a recursive resolution server in an example of the present disclosure. Figure 3As shown, the secondary recursive resolution server SN extracts 10 domain name recursive resolution information from the resolution log, including:

[0089] 1. The client C1 sends a first domain name recursive resolution request to the recursive resolution server N1, and the recursive resolution server N1 feeds back the domain name resolution result corresponding to the first domain name recursive resolution request to the client C1;

[0090] 2. The client C2 sends a second domain name recursive resolution request to the recursive resolution server N1, and the recursive resolution server N1 feeds back the domain name resolution result corresponding to the second domain name recursive resolution request to the client C2;

[0091] 3. The client C3 sends a recursive resolution request for a third domain name to the recursive resolution server N1, and the recursive resolution server N1 feeds back a domain name resolution result corresponding to the recursive resolution request for the third domain name to the client C3;

[0092] 4. The client C4 sends a fourth domain name recursive resolution request to the recursive resolution server N2, and the recursive resolution server N2 feeds back the domain name resolution result corresponding to the first domain name recursive resolution request to the client C4;

[0093] 5. The client C5 sends a fifth domain name recursive resolution request to the recursive resolution server N2, and the recursive resolution server N2 feeds back a domain name resolution result corresponding to the fifth domain name recursive resolution request to the client C4;

[0094] 6. The client C6 sends a sixth domain name recursive resolution request to the recursive resolution server N2, and the recursive resolution server N2 feeds back a domain name resolution result corresponding to the sixth domain name recursive resolution request to the client C6;

[0095] 7. The client C7 sends a seventh domain name recursive resolution request to the recursive resolution server N3, and the recursive resolution server N3 feeds back a domain name resolution result corresponding to the seventh domain name recursive resolution request to the client C7;

[0096] 8. The client C8 sends an eighth domain name recursive resolution request to the recursive resolution server N3, and the recursive resolution server N3 feeds back a domain name resolution result corresponding to the eighth domain name recursive resolution request to the client C8;

[0097] 9. The client C9 sends a ninth domain name recursive resolution request to the recursive resolution server N3, and the recursive resolution server N3 feeds back a domain name resolution result corresponding to the ninth domain name recursive resolution request to the client C9;

[0098] 10. The client C10 sends a tenth domain name recursive resolution request to the recursive resolution server N3, and the recursive resolution server N3 feeds back a domain name resolution result corresponding to the tenth domain name recursive resolution request to the client C10.

[0099] The secondary recursive resolution server SN determines the actual addresses of the recursive resolution servers N1, N2, and N3 according to the recursive resolution information of the ten domain names, and determines the actual addresses of the clients C1, C2, ..., C10.

[0100] The secondary recursive resolution server SN can determine the service range 1 corresponding to the recursive resolution server N1 (ie, the dotted circular range where the recursive resolution server N1 is located) according to the actual address of the recursive resolution server N1 and the actual addresses of the clients C1, C2 and C3.

[0101] The secondary recursive resolution server SN can determine the service range 2 corresponding to the recursive resolution server N2 (ie, the dotted circular range where the recursive resolution server N2 is located) according to the actual address of the recursive resolution server N2 and the actual addresses of the clients C4, C5 and C6.

[0102] The secondary recursive resolution server SN can determine the service range 3 corresponding to the recursive resolution server N3 (ie, the dotted circular range where the recursive resolution server N3 is located) according to the actual address of the recursive resolution server N3 and the actual addresses of the clients C7, C8, C9 and C10.

[0103] In this embodiment, since multiple terminals are distributed in multiple regions, multiple clients on multiple terminals send multiple domain name recursive resolution requests to the domain name resolution system. Combined with multiple domain name resolution results corresponding to the multiple domain name recursive resolution requests, multiple domain name recursive resolution information with different client distribution addresses can be generated. Compared with multiple domain name recursive resolution information generated by domain name recursive resolution requests sent by clients in local areas or a single client, the service scope of each domain name recursive resolution server in the domain name resolution system can be obtained more quickly.

[0104] In some embodiments of the present disclosure, each of the multiple domain name recursive resolution requests in step S0 includes: the network protocol address of the client, the network protocol address of the target recursive resolution server, the target address for requesting recursive domain name resolution, and field information representing the actual address of the client.

[0105] The network protocol address of the client may include the IP address of the client. The network protocol address of the target recursive resolution server may include the exit IP address of the target recursive resolution server. The field information representing the actual address of the client may include: the area code / postal code of the region where the terminal where the client is installed is located, the actual address information of the enterprise to which the terminal where the client is installed belongs, and other field information that can locate the actual address of the client. Among them, the actual address information of the enterprise to which the terminal where the client is installed belongs may include the registered address of the enterprise to which the terminal belongs and the address of the building where the enterprise to which the terminal belongs is located, etc. If the field information representing the actual address of the client includes an illegal domain name field, the illegal domain name field is converted to a legal domain name field. For example, a legal domain name may include characters, numbers or hyphens, but cannot include special characters. If there are special characters in the field information representing the actual address of the client, the field format specified by the legal domain name needs to be converted.

[0106] In this embodiment, since the actual address of the client can be quickly and accurately determined through the network protocol address of the client and the field information representing the actual address of the client, and the actual address of the target recursive resolution server can be quickly determined through the network protocol address of the target recursive resolution server, constructing a domain name recursive resolution request including the network protocol address of the client, the network protocol address of the target recursive resolution server, the target address for requesting recursive domain name resolution, and the field information representing the actual address of the client helps to improve the efficiency and accuracy of determining the service scope of the domain name recursive resolution server.

[0107] In some embodiments of the present disclosure, the domain name resolution system adopts an anycast method to provide recursive resolution services.

[0108] Anycast, also known as anycast, omnicast or arbitrary broadcast, identifies a group of hosts that provide specific services on the IP network through an anycast address. At the same time, the service accessor does not care which specific host provides the service (such as DNS or mirror service). The message accessing the address can be routed by the IP network to any host in this group of targets.

[0109] In this embodiment, since the anycast method has the characteristic of transparent service positioning at the IP layer, the domain name resolution system adopts the anycast method to provide recursive resolution service, which helps to accurately determine the location of each recursive resolution server, and further helps to accurately determine the service scope of each recursive resolution server.

[0110] Figure 4 FIG. 1 is a structural block diagram of a device for determining a recursive resolution service scope in an embodiment of the present disclosure. Figure 4 As shown, the device for determining the recursive resolution service scope includes:

[0111] The information extraction module 100 is used to extract multiple domain name recursive resolution information from the resolution log of the secondary domain name resolution server in the domain name resolution system;

[0112] An address information determination module 200 is used to determine a plurality of client addresses and a plurality of network protocol addresses of recursive resolution servers corresponding to a plurality of domain name recursive resolution information;

[0113] The actual address determination module 300 is used to determine the actual addresses of multiple recursive resolution servers based on the network protocol addresses of the multiple recursive resolution servers;

[0114] The service range determination module 400 is used to determine the service ranges of multiple recursive resolution servers based on the actual addresses of the multiple recursive resolution servers and the domain name recursive resolution correspondences between multiple client addresses and the network protocol addresses of the multiple recursive resolution servers.

[0115] In some embodiments of the present disclosure, the actual address determination module 300 is used to determine the actual address of each recursive resolution server based on at least one of the export network protocol address, identification code and name information of each recursive resolution server in a plurality of recursive resolution servers, wherein the actual addresses of the plurality of recursive resolution servers include the actual address of each recursive resolution server.

[0116] In some embodiments of the present disclosure, the multiple client addresses include the network protocol addresses of the multiple clients; wherein the service scope determination module 400 is used to determine the actual addresses of the multiple clients based on the network protocol addresses of the multiple clients; the service scope determination module 400 is also used to determine the domain name recursive resolution service relationship between the actual addresses of the multiple clients and the actual addresses of the multiple recursive resolution servers based on the domain name recursive resolution correspondence between the multiple client addresses and the network protocol addresses of the multiple recursive resolution servers; the service scope determination module 400 is also used to determine the service scope of the multiple recursive resolution servers based on the domain name recursive resolution service relationship between the actual addresses of the multiple clients and the actual addresses of the multiple recursive resolution servers.

[0117] In some embodiments of the present disclosure, each of the multiple recursive domain name resolution requests includes: the network protocol address of the client, the network protocol address of the target recursive resolution server, the target address for requesting recursive domain name resolution, and field information representing the actual address of the client.

[0118] In some embodiments of the present disclosure, the domain name resolution system adopts an anycast method to provide recursive resolution services.

[0119] It should be noted that the specific implementation of the device for determining the scope of recursive resolution service in the embodiment of the present disclosure is similar to the specific implementation of the method for determining the scope of recursive resolution service in the embodiment of the present disclosure, and the technical effect of the device for determining the scope of recursive resolution service in the embodiment of the present disclosure is similar to the technical effect of the method for determining the scope of recursive resolution service in the embodiment of the present disclosure. Please refer to the description of the method for determining the scope of recursive resolution service for details. In order to reduce redundancy, it will not be repeated here.

[0120] In addition, an embodiment of the present disclosure further provides an electronic device, including:

[0121] Memory for storing computer programs;

[0122] The processor is used to execute the computer program stored in the memory, and when the computer program is executed, the method for determining the recursive resolution service scope described in any of the above embodiments of the present disclosure is implemented.

[0123] Below, reference Figure 5 To describe the electronic device according to the embodiment of the present disclosure. Figure 5 As shown, the electronic device includes one or more processors and memory.

[0124] The processor may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.

[0125] The memory may store one or more computer program products, and the memory may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program products may be stored on the computer-readable storage medium, and the processor may run the computer program product to implement the method for determining the recursive resolution service scope of the various embodiments of the present disclosure described above and / or other desired functions.

[0126] In one example, the electronic device may further include: an input device and an output device, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0127] In addition, the input device may also include, for example, a keyboard, a mouse, and the like.

[0128] The output device can output various information to the outside, including determined distance information, direction information, etc. The output device can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.

[0129] Of course, to simplify, Figure 5 Only some of the components related to the present disclosure in the electronic device are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device may further include any other appropriate components.

[0130] In addition to the above-mentioned methods and devices, an embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the method for determining the scope of recursive resolution service according to various embodiments of the present disclosure described in the above part of this specification.

[0131] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0132] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the steps of the method for determining the scope of recursive resolution service according to various embodiments of the present disclosure described in the above part of this specification.

[0133] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0134] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.

[0135] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0136] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.

[0137] The method and apparatus of the present disclosure may be implemented in many ways. For example, the method and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present disclosure. Therefore, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.

[0138] It should also be noted that in the apparatus, device and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.

[0139] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0140] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims

1. A method for determining a recursive resolution service scope, characterized in that: include: Extracting multiple domain name recursive resolution information from the resolution log of the secondary domain name resolution server in the domain name resolution system; Determine multiple client addresses and network protocol addresses of multiple recursive resolution servers corresponding to the multiple domain name recursive resolution information, wherein the network protocol address includes an egress IP address, and the multiple client addresses include network protocol addresses of multiple clients; Determining actual addresses of the multiple recursive resolution servers based on the network protocol addresses of the multiple recursive resolution servers; Determining the service ranges of the multiple recursive resolution servers based on the actual addresses of the multiple recursive resolution servers and the domain name recursive resolution correspondences between the multiple client addresses and the network protocol addresses of the multiple recursive resolution servers includes: determining the actual addresses of the multiple clients based on the network protocol addresses of the multiple clients; determining the domain name recursive resolution service relationships between the actual addresses of the multiple clients and the actual addresses of the multiple recursive resolution servers based on the domain name recursive resolution correspondences between the multiple client addresses and the network protocol addresses of the multiple recursive resolution servers; determining the service ranges of the multiple recursive resolution servers based on the domain name recursive resolution service relationships between the actual addresses of the multiple clients and the actual addresses of the multiple recursive resolution servers; The domain name resolution system adopts anycast method to provide recursive resolution service.

2. The method according to claim 1, characterized in that The determining the actual addresses of the multiple recursive resolution servers based on the network protocol addresses of the multiple recursive resolution servers comprises: Based on at least one of the egress network protocol address, identification code and name information of each recursive resolution server in the multiple recursive resolution servers, the actual address of each recursive resolution server is determined, wherein the actual addresses of the multiple recursive resolution servers include the actual address of each recursive resolution server.

3. The method according to any one of claims 1 to 2, characterized in that: Before extracting the multiple domain name recursive resolution information from the resolution log of the secondary domain name resolution server in the domain name resolution system, the method further includes: The multiple recursive domain name resolution information is obtained based on multiple clients on multiple terminals sending multiple recursive domain name resolution requests to the domain name resolution system, and the domain name resolution system performing domain name resolution on the multiple recursive domain name resolution requests to obtain multiple domain name recursive resolution information, wherein the multiple terminals are distributed in multiple regions.

4. The method according to claim 3, characterized in that Each of the multiple recursive domain name resolution requests includes: a network protocol address of the client, a network protocol address of a target recursive resolution server, a target address for requesting recursive domain name resolution, and field information indicating an actual address of the client.

5. A device for determining a recursive resolution service scope, characterized in that: include: An information extraction module is used to extract multiple domain name recursive resolution information from the resolution log of the secondary domain name resolution server in the domain name resolution system; An address information determination module, used to determine a plurality of client addresses and network protocol addresses of a plurality of recursive resolution servers corresponding to the plurality of domain name recursive resolution information, wherein the network protocol address includes an egress IP address, and the plurality of client addresses includes network protocol addresses of a plurality of clients; An actual address determination module, configured to determine the actual addresses of the plurality of recursive resolution servers based on the network protocol addresses of the plurality of recursive resolution servers; A service range determination module, configured to determine the service ranges of the multiple recursive resolution servers based on the actual addresses of the multiple recursive resolution servers and the domain name recursive resolution correspondences between the multiple client addresses and the network protocol addresses of the multiple recursive resolution servers; Wherein, the service range determination module is used to determine the actual addresses of the multiple clients based on the network protocol addresses of the multiple clients; the service range determination module is also used to determine the domain name recursive resolution service relationship between the actual addresses of the multiple clients and the actual addresses of the multiple recursive resolution servers based on the domain name recursive resolution correspondence between the multiple client addresses and the network protocol addresses of the multiple recursive resolution servers; the service range determination module is also used to determine the service range of the multiple recursive resolution servers based on the domain name recursive resolution service relationship between the actual addresses of the multiple clients and the actual addresses of the multiple recursive resolution servers; The domain name resolution system adopts anycast method to provide recursive resolution service.

6. The device according to claim 5, characterized in that The actual address determination module is used to determine the actual address of each recursive resolution server among the multiple recursive resolution servers based on at least one of the export network protocol address, identification code and name information of each recursive resolution server, wherein the actual addresses of the multiple recursive resolution servers include the actual address of each recursive resolution server.

7. The device according to any one of claims 5 to 6, characterized in that: Also includes: A domain name recursive resolution information acquisition module is used to obtain the multiple domain name recursive resolution information based on multiple clients on multiple terminals sending multiple domain name recursive resolution requests to the domain name resolution system, and the domain name resolution system performing domain name resolution on the multiple domain name recursive resolution requests to obtain multiple domain name recursive resolution information, wherein the multiple terminals are distributed in multiple regions.

8. An electronic device, characterized in that: include: A memory for storing a computer program product; A processor is used to execute the computer program product stored in the memory, and when the computer program product is executed, it implements the method described in any one of claims 1 to 4 above.

9. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method described in any one of claims 1 to 4 is implemented.

10. A computer program product, characterized in that The method comprises computer program instructions, which, when executed by a processor, enable the processor to execute the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • System and method of monitoring DNS services

    US20180013716A1