CN114430408A - Domain name resolution scheduling method, device, server and storage medium - Google Patents
Domain name resolution scheduling method, device, server and storage medium Download PDFInfo
- Publication number
- CN114430408A CN114430408A CN202111580700.9A CN202111580700A CN114430408A CN 114430408 A CN114430408 A CN 114430408A CN 202111580700 A CN202111580700 A CN 202111580700A CN 114430408 A CN114430408 A CN 114430408A
- Authority
- CN
- China
- Prior art keywords
- domain name
- dns
- access
- resolution
- gslb
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000012545 processing Methods 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 12
- 230000004044 response Effects 0.000 description 6
- 238000013507 mapping Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000000903 blocking effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention provides a domain name resolution scheduling method, a domain name resolution scheduling device, a server and a storage medium, wherein a domain name server Access-DNS receives a domain name resolution request carrying a domain name sent by a client, and determines the domain name as an opened high-precision scheduling service domain name; the Access-DNS sends the identity information ID and the domain name of the logical network node to a global load balancing domain name server GSLB-DNS, and receives a first resolution result obtained by the GSLB-DNS through resolving the domain name based on the logical network node ID, wherein the logical network node ID is sent by the GSLB-DNS; and the Access-DNS sends the first resolution result to the client. The embodiment of the invention realizes high-precision domain name resolution scheduling supporting fine-grained division by adding the logic network nodes and the Access-DNS, so that a user can obtain required contents nearby, and the Access speed is improved.
Description
Technical Field
The invention belongs to the technical field of information, and particularly relates to a domain name resolution scheduling method, a domain name resolution scheduling device, a server and a storage medium.
Background
The traditional intelligent Domain Name Server (DNS) user location scheduling is based on an Internet Protocol (IP) geographic base, which is divided based on an external network IP network segment, and is essentially physically divided according to a physical network of a public network as a logical configuration unit. And according to the mapping relation between the IP section and the geographic position in the library, the geographic position of the user is known, and a response result is made according to the geographic position.
However, the operator does not maintain and provide the IP geographic library in a unified manner, and meanwhile, due to frequent change of the operator Network and a large error of the IP, the scheduling accuracy of a Content Delivery Network (CDN) is low, and the response speed of part of users accessing the Network Content is slow.
In summary, how to improve the scheduling accuracy of domain name resolution and improve the access speed of the user is a problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The invention provides a domain name resolution scheduling method, a domain name resolution scheduling device, a server and a storage medium, which are used for solving the problems of low scheduling precision and low user access speed of domain name resolution in the prior art.
In a first aspect, an embodiment of the present invention provides a domain name resolution scheduling method, where the method includes:
an Access domain name server Access-DNS receives a domain name resolution request carrying a domain name sent by a client, and determines the domain name as an opened high-precision scheduling service domain name;
the Access-DNS sends a logical network node identity information ID and the domain name to a global load balancing domain name server GSLB-DNS, and receives a first resolution result obtained by the GSLB-DNS resolving the domain name based on the logical network node ID, wherein the logical network node ID is sent by the GSLB-DNS;
and the Access-DNS sends the first analysis result to the client.
Optionally, before the Access-DNS receives a domain name resolution request carrying a domain name sent by a client and determines that the domain name is an opened high-precision dispatch service domain name, the method further includes:
the Access-DNS sends a logic network node registration request to the GSLB-DNS and receives the logic network node ID returned by the GSLB-DNS;
and after receiving a request for opening the high-precision scheduling service domain name sent by the GSLB-DNS, the Access-DNS opens the high-precision scheduling service domain name and takes the high-precision scheduling service domain name as the opened high-precision scheduling service domain name.
Optionally, the method further includes:
the Access-DNS determines that the domain name is an unopened high-precision scheduling service domain name;
the Access-DNS sends the domain name resolution request to a Local domain name resolution server (Local-DNS);
and the Access-DNS receives a second resolution result which is returned by the Local-DNS and used for resolving the domain name, and sends the second resolution result to the client.
In a second aspect, an embodiment of the present invention further provides a domain name resolution scheduling method, where the method includes:
the global load balancing domain name server GSLB-DNS opens a high-precision scheduling service domain name according to a request for opening the high-precision scheduling service domain name sent by a client;
the GSLB-DNS analyzes the domain name according to the logic network node identity information ID and the domain name sent by the Access domain name server Access-DNS to obtain a first analysis result;
and the GSLB-DNS sends the first resolution result to the Access-DNS so that the Access-DNS sends the first resolution result to the client.
Optionally, before the GSLB-DNS opens the high-precision scheduling service domain name according to the request for opening the high-precision scheduling service domain name sent by the client, the method further includes:
the GSLB-DNS receives a logic network node registration request sent by the Access-DNS;
and the GSLB-DNS determines the ID of the logic network node according to the registration request and sends the ID of the logic network node to the Access-DNS.
In a third aspect, an embodiment of the present invention further provides a domain name resolution scheduling apparatus, including:
the first determining module is configured to receive a domain name resolution request carrying a domain name sent by a client, and determine that the domain name is an opened high-precision scheduling service domain name;
the first processing module is configured to send a logical network node identity information ID and the domain name to a global load balancing domain name server GSLB-DNS, and receive a first resolution result obtained by the GSLB-DNS resolving the domain name based on the logical network node ID, wherein the logical network node ID is sent by the GSLB-DNS;
a first sending module configured to send the first parsing result to the client.
Optionally, the first determining module is further configured to:
sending a logic network node registration request to the GSLB-DNS, and receiving the logic network node ID returned by the GSLB-DNS;
and after receiving a request for opening the high-precision scheduling service domain name sent by the GSLB-DNS, opening the high-precision scheduling service domain name, and taking the high-precision scheduling service domain name as the opened high-precision scheduling service domain name.
Optionally, the domain name resolution scheduling apparatus further includes:
a second determination module configured to determine that the domain name is an unopened high-precision dispatch service domain name;
a second processing module configured to send the domain name resolution request to a Local domain name resolution server, Local-DNS;
and the second sending module is configured to receive a second resolution result returned by the Local-DNS for resolving the domain name, and send the second resolution result to the client.
In a fourth aspect, an embodiment of the present invention further provides a domain name resolution scheduling apparatus, including:
the system comprises an opening module, a high-precision dispatching service domain name sending module and a dispatching service domain name sending module, wherein the opening module is configured to open a high-precision dispatching service domain name according to a high-precision dispatching service domain name opening request sent by a client;
the analysis module is configured to analyze the domain name according to the logical network node identity information ID and the domain name sent by the Access domain name server Access-DNS to obtain a first analysis result;
and a third sending module configured to send the first resolution result to the Access-DNS, so that the Access-DNS sends the first resolution result to the client.
Optionally, the provisioning module is further configured to:
receiving a logic network node registration request sent by the Access-DNS;
and determining the ID of the logic network node according to the registration request, and sending the ID of the logic network node to the Access-DNS.
In a fifth aspect, an embodiment of the present invention further provides a server, including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the domain name resolution scheduling method of any of the first aspect via execution of the executable instructions.
In a sixth aspect, an embodiment of the present invention further provides a server, including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the domain name resolution scheduling method of any of the second aspect via execution of the executable instructions.
In a seventh aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the domain name resolution scheduling method according to any one of the first aspect or the second aspect.
According to the domain name resolution scheduling method, the domain name resolution scheduling device, the server and the storage medium, the Access domain name server Access-DNS receives a domain name resolution request carrying a domain name sent by a client, and the domain name is determined to be an opened high-precision scheduling service domain name; the Access-DNS sends the identity information ID and the domain name of the logical network node to a global load balancing domain name server GSLB-DNS, and receives a first resolution result obtained by the GSLB-DNS through resolving the domain name based on the logical network node ID, wherein the logical network node ID is sent by the GSLB-DNS; and the Access-DNS sends the first resolution result to the client. The embodiment of the invention realizes high-precision domain name resolution scheduling supporting fine-grained division by adding the logic network nodes and the Access-DNS, so that a user can obtain required contents nearby, and the Access speed is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a domain name resolution scheduling system according to an embodiment of the present invention;
fig. 2 is a schematic view of a scenario of a domain name resolution scheduling system according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a communication manner of a domain name resolution scheduling system according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating another communication manner of a domain name resolution scheduling system according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating another communication manner of a domain name resolution scheduling system according to an embodiment of the present invention;
fig. 6 is a schematic flowchart of a domain name resolution scheduling method according to an embodiment of the present invention;
fig. 7 is a schematic flowchart of another domain name resolution scheduling method according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a domain name resolution scheduling apparatus according to an embodiment of the present invention;
fig. 9 is a schematic diagram of another domain name resolution scheduling apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of another server according to an embodiment of the present invention;
fig. 12 is a schematic flowchart of a complete method of a domain name resolution scheduling method according to an embodiment of the present invention.
Detailed Description
In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments that can be derived from the embodiments given herein by a person of ordinary skill in the art are intended to be within the scope of the present disclosure.
The traditional intelligent DNS user positioning scheduling all depends on an IP geographic library, the IP geographic library is divided based on an external network IP network segment, and the IP geographic library is essentially physically divided according to a physical network of a public network to be used as a logic configuration unit. And according to the mapping relation between the IP section and the geographic position in the library, the geographic position of the user is known, and a response result is made according to the geographic position. However, the operator does not maintain and provide the IP geographic library in a unified manner, and meanwhile, due to frequent network change of the operator, the CDN scheduling accuracy is low and the response speed of part of users for accessing the network content is slow because the CDN manufacturers obtain the IP through various channels with large errors. And the current method for bypassing the IP geographic bank depends on conversion of Local-DNS13, and Local-DNS13 is inconsistent and cannot be unified.
Under the condition of not influencing the original domain name service, the invention can divide the Virtual networks such as public networks, Private networks and even Virtual Private Clouds (VPCs) into finer granularity as a logic configuration unit without using an IP geographic library, configure the logical configuration unit in a one-stop way, perform high-precision edge scheduling, analyze the user request to the service node nearest to the user, enable the user to obtain the required content nearby, solve the congestion condition of the Internet network, improve the response speed and success rate of user access, and further improve the service use experience.
As shown in fig. 1, a domain name resolution scheduling system according to an embodiment of the present invention includes: client 10, Access-DNS11, GSLB-DNS12 and Local-DNS 13.
The client 10 is configured to send a domain name resolution request carrying a domain name to the Access-DNS11, and receive a resolution result returned by the Access-DNS 11.
The Access-DNS11 is used for receiving a domain name resolution request carrying a domain name sent by the client 10 and determining the domain name as an opened high-precision scheduling service domain name; sending the identity information ID and the domain name of the logical network node to a global load balancing domain name server GSLB-DNS12, and receiving a first resolution result obtained by resolving the domain name based on the ID of the logical network node by GSLB-DNS12, wherein the ID of the logical network node is sent by GSLB-DNS 12; the first parsing result is sent to the client 10.
The GSLB-DNS12 is configured to open a high-precision scheduling service domain name according to a request for opening a high-precision scheduling service domain name sent by the client 10; analyzing the domain name according to the ID and the domain name of the logic network node identity information sent by the Access domain name server Access-DNS11 to obtain a first analysis result; the first resolution result is sent to the Access-DNS11 so that the Access-DNS11 sends the first resolution result to the client 10.
And the Local-DNS13 is used for receiving the unopened high-precision scheduling service domain name resolution request sent by the Access-DNS11, resolving the domain name to obtain a second resolution result, and sending the second resolution result to the Access-DNS 11.
In the embodiment of the invention, an Access domain name server Access-DNS11 receives a domain name resolution request carrying a domain name sent by a client 10, and determines the domain name as an opened high-precision scheduling service domain name; the Access-DNS11 sends the identity information ID and the domain name of the logical network node to a global load balancing domain name server GSLB-DNS12, and receives a first resolution result obtained by resolving the domain name based on the logical network node ID by GSLB-DNS12, wherein the logical network node ID is sent by GSLB-DNS 12; the Access-DNS11 sends the first resolution result to the client 10. By adding the logic network nodes and the Access-DNS11, high-precision domain name resolution scheduling supporting fine-grained division is realized, so that a user can obtain required contents nearby, and the Access speed is improved.
In specific implementation, on the basis of a DNS technology, the invention realizes high-precision edge scheduling supporting fine-grained division by adding a logic network node concept and an Access-DNS11 device, and the main components of the system are shown in FIG. 2, wherein a plurality of clients 10 perform information interaction with Local-DNS13 or GSLB-DNS12 by taking an Access-DNS11 as a center.
It should be noted that the logical network node in the embodiment of the present invention is a virtual network concept, i.e. a combination of machines that can be grouped into one group.
The GSLB-DNS12 mainly supports the registration of logic network nodes, opens high-precision scheduling for domain names, and provides the capability of configuring and responding to analysis values in different logic network nodes according to domain names; Local-DNS13 provides existing Local DNS services; the Access-DNS11 serving as a central server in the embodiment of the invention can register a logical network node with GSLB-DNS12, synchronously open a high-precision scheduled domain name, and then serve as an Access point for domain name resolution of the logical network node to receive all DNS requests in the logical network; the client 10, which may be a server, a container, a home computer, etc., belongs to a certain logical network node, and all DNS resolutions of the client all point to Access-DNS11 of the logical network node.
As shown in fig. 3, the logic network node registration and high-precision scheduling service domain name opening process is as follows: 1) firstly, an Access-DNS11 is required to apply for registering a logic network node to a GSLB-DNS12 system; 2) GSLB-DNS12 returns a logic network node ID to Access-DNS11 according to the registration information; 3) the client 10 applies for opening a high-precision scheduling service domain name to the GSLB-DNS12 system; 4) and the Access-DNS11 and the GSLB-DNS12 system synchronously open the domain name information of high-precision scheduling.
The processing process of the request for the high-precision domain name in the embodiment of the invention is shown in fig. 4, and the specific flow is as follows: 1) the client 10 requests high-precision scheduling domain name resolution from the Access-DNS 11; 2) the Access-DNS11 judges that the domain name is the domain name with opened high-precision scheduling, injects the logic network node ID registered with GSLB-DNS12 before, and initiates request analysis to GSLB-DNS 12; 3) GSLB-DNS12 finds out the corresponding analysis configuration according to the domain name and the logic network node ID, and responds the first analysis result to the Access-DNS 11; 4) the Access-DNS11 responds to the first resolution result to the client 10.
For convenience of description, the internal modules of GSLB-DNS12 are described below, where GSLB-DNS12 may perform resolution according to the previously registered logical network node ID sent by Access-DNS11, that is, the logical network node ID and the first resolution result have a mapping relationship:
the GSLB-DNS12 includes a DNS request receiving module, a DNS request processing module, and a DNS request sending module, where the DNS request receiving module is configured to receive the request from the Access-DNS11 and then send the request to the DNS request processing module, and the DNS request sending module is configured to send the first resolution result processed by the DNS request processing module to the Access-DNS 11. For the DNS request processing module, a mapping relationship between the logical network node ID and the first resolution result is stored, as shown in the following table (table 1).
Domain name | Logical network node ID | Analytic value |
|
1 | 192.168.0.1 |
aaa.bbb.ccc | 2 | 192.168.0.2 |
xxx.yyy. |
1 | 192.168.0.3 |
TABLE 1
As can be seen from table 1, for each domain name, GSLB assigns a logical network node ID to each domain name, and for the same domain name, for example, aaa. bbb. ccc, there may be more than one logical network node ID, but for a group of domain names and logical network node IDs having a correspondence relationship, the resolution value is unique, for example, for the domain name aaa. bbb. ccc, if GSLB assigns a logical network node ID of 1, the first resolution result (i.e., resolution value) is 192.168.0.1, if GSLB assigns a logical network node ID of 2, the first resolution result (i.e., resolution value) is 192.168.0.2, and when the path blocking corresponding to the logical network node ID of 1 can automatically access the path corresponding to the logical network node ID of 2 for resolution. The embodiment of the invention introduces the logic network nodes, can configure in a one-stop way, has thinner granularity, can effectively solve the crowded condition of the Internet network and improve the response speed and the success rate of the user access.
The DNS request processing module is mainly used for domain name resolution, and finds the configuration of a resolution value mapped by the DNS request according to the domain name of the DNS request and the ID of the logic network node.
The processing process of the request for the non-high-precision domain name in the embodiment of the invention is shown in fig. 5, and the specific flow is as follows: 1) the client 10 requests the Access-DNS11 for domain name resolution without opening high-precision scheduling; 2) the Access-DNS11 judges that the domain name is not opened with high-precision scheduling, and directly returns to the Local-DNS13 for requesting resolution; 3) the Local-DNS13 responds to the second resolution result to the Access-DNS 11; 4) the Access-DNS11 responds to the second resolution result to the client 10.
The Access-DNS11 needs to determine a domain name in a domain name resolution request sent by the client 10, and if the request is a high-precision scheduling domain name resolution request, the domain name and a previously registered logical network node ID are sent to the GSLB-DNS12 for domain name resolution through a mapping relationship, and if the request is a non-high-precision scheduling domain name resolution request, the request is directly returned to the Local-DNS13 for resolution, and these two resolution modes improve the resolution efficiency, and in order to facilitate description of how to determine whether the domain name resolution request sent by the client 10 is the high-precision scheduling domain name resolution, the following describes internal modules of the Access-DNS 11:
the Access-DNS11 comprises a DNS request receiving module, a DNS request processing module and a DNS request sending module.
The DNS request receiving module is used to receive a domain name resolution request from the client 10, and then send the domain name resolution request to the DNS request processing module.
And a DNS request processing module, wherein a list of domain names with opened high-precision scheduling services is stored in the DNS request processing module, and the list is shown in the following table (table 2).
Opened high-precision scheduling service domain name |
aaa.bbb.ccc |
xxx.yyy.zzz |
TABLE 2
The DNS request processing module may determine whether the domain name is in a list of domain names with high-precision scheduling services according to a domain name resolution request sent by the client 10, and if not, directly mark the domain name as Local and send the domain name to the DNS request sending module; and if so, injecting the logical network node ID into the NSID of the pseudo resource record OPT of the EDNS, marking the logical network node ID as gslb, and sending the logical network node ID to the DNS request sending module.
The DNS request sending module stores the address of Local-DNS 13: 192.168.0.1, if marked as Local, then sent to Local-DNS 13; if the flag is GSLB, it is sent to GSLB-DNS 12.
Based on the same inventive concept, the embodiment of the present invention provides a domain name resolution scheduling method, and since the device corresponding to the method is Access-DNS11 in the domain name resolution scheduling system of the embodiment of the present invention, and the principle of solving the problem of the method is similar to that of the device, the implementation of the method can refer to the implementation of the system, and repeated details are not repeated. As shown in fig. 6, the method includes:
s601, accessing a domain name server Access-DNS11 to receive a domain name resolution request carrying a domain name sent by a client 10, and determining the domain name as an opened high-precision scheduling service domain name;
s602, the Access-DNS11 sends the identity information ID and the domain name of the logical network node to a global load balancing domain name server GSLB-DNS12, and receives a first resolution result obtained by resolving the domain name based on the logical network node ID by GSLB-DNS12, wherein the logical network node ID is sent by GSLB-DNS 12;
s603, Access-DNS11 sends the first analysis result to the client 10.
Optionally, the receiving-DNS 11, before receiving the domain name resolution request carrying the domain name sent by the client 10 and determining that the domain name is the opened high-precision dispatch service domain name, further includes:
the Access-DNS11 sends a logic network node registration request to the GSLB-DNS12 and receives a logic network node ID returned by the GSLB-DNS 12;
and after the Access-DNS11 receives a request for opening the high-precision scheduling service domain name sent by the GSLB-DNS12, opening the high-precision scheduling service domain name, and taking the high-precision scheduling service domain name as the opened high-precision scheduling service domain name.
Optionally, the method further includes:
the Access-DNS11 determines that the domain name is an unopened high-precision scheduling service domain name;
the Access-DNS11 sends a domain name resolution request to a Local domain name resolution server Local-DNS 13;
the Access-DNS11 receives the second resolution result of resolving the domain name returned by the Local-DNS13, and sends the second resolution result to the client 10.
Based on the same inventive concept, the embodiment of the present invention provides a domain name resolution scheduling method, and since the device corresponding to the method is GSLB-DNS12 in the domain name resolution scheduling system of the embodiment of the present invention, and the principle of the method for solving the problem is similar to that of the device, the implementation of the method can refer to the implementation of the system, and repeated details are not described.
As shown in fig. 7, a schematic flow chart of a domain name resolution scheduling method provided in an embodiment of the present invention is shown, where the method includes:
s701, a global load balancing domain name server GSLB-DNS12 opens a high-precision scheduling service domain name according to a request for opening the high-precision scheduling service domain name sent by a client 10;
s702, analyzing the domain name according to the identity information ID and the domain name of the logic network node sent by the Access domain name server Access-DNS11 by the GSLB-DNS12 to obtain a first analysis result;
s703, GSLB-DNS12 sends the first resolution result to Access-DNS11, so that Access-DNS11 sends the first resolution result to client 10.
Optionally, before the GSLB-DNS12 opens the high-precision scheduling service domain name according to the request for opening the high-precision scheduling service domain name sent by the client 10, the method further includes:
GSLB-DNS12 receives a logic network node registration request sent by Access-DNS 11;
GSLB-DNS12 determines a logical network node ID according to the registration request, and transmits the logical network node ID to Access-DNS 11.
Based on the same inventive concept, an embodiment of the present invention further provides a domain name resolution scheduling apparatus, as shown in fig. 8, including:
a first determining module 801, configured to receive a domain name resolution request carrying a domain name sent by a client 10, and determine that the domain name is an opened high-precision scheduling service domain name;
the first processing module 802 is configured to send a logical network node identity information ID and the domain name to a global load balancing domain name server GSLB-DNS12, and receive a first resolution result obtained by the GSLB-DNS12 resolving the domain name based on the logical network node ID, where the logical network node ID is sent by the GSLB-DNS 12;
a first sending module 803 configured to send the first parsing result to the client 10.
Optionally, the first determining module 801 is further configured to:
sending a logical network node registration request to the GSLB-DNS12 and receiving the logical network node ID returned by the GSLB-DNS 12;
and after receiving a request for opening the high-precision scheduling service domain name sent by the GSLB-DNS12, opening the high-precision scheduling service domain name, and taking the high-precision scheduling service domain name as the opened high-precision scheduling service domain name.
Optionally, the domain name resolution scheduling apparatus further includes:
a second determination module configured to determine that the domain name is an unopened high-precision dispatch service domain name;
a second processing module configured to send the domain name resolution request to a Local domain name resolution server Local-DNS 13;
a second sending module, configured to receive a second resolution result returned by the Local-DNS13 for resolving the domain name, and send the second resolution result to the client 10.
Based on the same inventive concept, an embodiment of the present invention further provides a domain name resolution scheduling apparatus, as shown in fig. 9, including:
an opening module 901 configured to open a high-precision scheduling service domain name according to a request for opening a high-precision scheduling service domain name sent by the client 10;
the resolution module 902 is configured to perform resolution on the domain name according to the logical network node identity information ID and the domain name sent by the Access domain name server Access-DNS11, so as to obtain a first resolution result;
a third sending module 903, configured to send the first resolution result to the Access-DNS11, so that the Access-DNS11 sends the first resolution result to the client 10.
Optionally, the provisioning module 901 is further configured to:
receiving a logic network node registration request sent by the Access-DNS 11;
and determining the ID of the logic network node according to the registration request, and sending the ID of the logic network node to the Access-DNS 11.
Based on the same inventive concept, an embodiment of the present invention further provides a server, as shown in fig. 10, including:
a processor 1002;
a memory 1001 for storing executable instructions of the processor;
wherein the processor is configured to perform any one of the domain name resolution scheduling methods via execution of executable instructions.
The processor 1002 may specifically perform:
receiving a domain name resolution request carrying a domain name sent by a client 10, and determining that the domain name is an opened high-precision scheduling service domain name;
sending a logical network node identity Information (ID) and the domain name to a global load balancing domain name server (GSLB-DNS) 12, and receiving a first resolution result obtained by resolving the domain name by the GSLB-DNS12 based on the logical network node ID, wherein the logical network node ID is sent by the GSLB-DNS 12;
and sending the first analysis result to the client 10.
Optionally, before receiving a domain name resolution request carrying a domain name sent by the client 10 and determining that the domain name is an activated high-precision scheduling service domain name, the processor 1002 may further perform:
sending a logic network node registration request to GSLB-DNS12, and receiving a logic network node ID returned by GSLB-DNS 12;
and after receiving a request for opening the high-precision scheduling service domain name sent by the GSLB-DNS12, opening the high-precision scheduling service domain name, and taking the high-precision scheduling service domain name as the opened high-precision scheduling service domain name.
Optionally, the processor 1002 may further perform:
determining that the domain name is an unopened high-precision scheduling service domain name;
sending the domain name resolution request to a Local domain name resolution server Local-DNS 13;
and receiving a second resolution result of resolving the domain name returned by the Local-DNS13, and sending the second resolution result to the client 10.
Based on the same inventive concept, an embodiment of the present invention further provides another server, as shown in fig. 11, including:
a processor 1102;
a memory 1101 for storing executable instructions for the processor;
wherein the processor is configured to perform any one of the domain name resolution scheduling methods via execution of executable instructions.
The processor 1102 may specifically perform:
opening a high-precision scheduling service domain name according to a request for opening the high-precision scheduling service domain name sent by a client 10;
analyzing the domain name according to the logic network node identity information ID and the domain name sent by the Access domain name server Access-DNS11 to obtain a first analysis result;
the first resolution result is sent to the Access-DNS11 so that the Access-DNS11 sends the first resolution result to the client 10.
Optionally, before the high-precision scheduling service domain name is opened according to the request for opening the high-precision scheduling service domain name sent by the client 10, the processor 1102 may further perform:
receiving a logic network node registration request sent by the Access-DNS 11;
and determining the ID of the logic network node according to the registration request, and sending the ID of the logic network node to the Access-DNS 11.
As shown in fig. 12, the complete method for domain name resolution scheduling according to the embodiment of the present invention includes:
s1201, the Access-DNS11 sends a logic network node registration request to the GSLB-DNS 12;
s1202, GSLB-DNS12 sends a logic network node ID to Access-DNS 11;
s1203, the client 10 sends a request for opening a high-precision scheduling service domain name to GSLB-DNS 12;
s1204, GSLB-DNS12 sends the request of opening the domain name of high-precision dispatch service to Access-DNS 11;
s1205, the Access-DNS11 opens the high-precision scheduling service domain name, and the high-precision scheduling service domain name is used as the opened high-precision scheduling service domain name;
s1206, the client 10 sends a domain name resolution request carrying a domain name to the Access-DNS 11;
s1207, determining that the domain name is an opened high-precision scheduling service domain name by the Access-DNS 11;
s1208, the Access-DNS11 sends the identity information ID and the domain name of the logic network node to GSLB-DNS 12;
s1209, the GSLB-DNS12 analyzes based on the received logic network node identity information ID and the domain name to obtain a first analysis result;
s1210, the GSLB-DNS12 sends the first analysis result to the Access-DNS 11;
s1211 and Access-DNS11 send the first analysis result to the client 10;
s1212, the client 10 sends a domain name resolution request carrying a domain name to the Access-DNS 11;
s1213, Access-DNS11 determines that the domain name is an unopened high-precision scheduling service domain name;
s1214, the Access-DNS11 sends the domain name resolution request to a Local domain name resolution server Local-DNS 13;
s1215, analyzing the domain name by Local-DNS13 to obtain a second analysis result;
s1216, the Local-DNS13 sends a second resolution result to the Access-DNS 11;
s1217 and Access-DNS11 send the second resolution result to the client 10.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A domain name resolution scheduling method is characterized by comprising the following steps:
an Access domain name server Access-DNS receives a domain name resolution request carrying a domain name sent by a client, and determines the domain name as an opened high-precision scheduling service domain name;
the Access-DNS sends a logical network node identity information ID and the domain name to a global load balancing domain name server GSLB-DNS, and receives a first resolution result obtained by the GSLB-DNS resolving the domain name based on the logical network node ID, wherein the logical network node ID is sent by the GSLB-DNS;
and the Access-DNS sends the first analysis result to the client.
2. The method of claim 1, wherein the Access-DNS receives a domain name resolution request carrying a domain name sent by a client, and further comprises, before determining that the domain name is an opened high-precision dispatch service domain name:
the Access-DNS sends a logic network node registration request to the GSLB-DNS and receives the logic network node ID returned by the GSLB-DNS;
and after receiving a request for opening the high-precision scheduling service domain name sent by the GSLB-DNS, the Access-DNS opens the high-precision scheduling service domain name and takes the high-precision scheduling service domain name as the opened high-precision scheduling service domain name.
3. The method of claim 1, further comprising:
the Access-DNS determines that the domain name is an unopened high-precision scheduling service domain name;
the Access-DNS sends the domain name resolution request to a Local domain name resolution server (Local-DNS);
and the Access-DNS receives a second resolution result which is returned by the Local-DNS and used for resolving the domain name, and sends the second resolution result to the client.
4. A domain name resolution scheduling method is characterized by comprising the following steps:
the global load balancing domain name server GSLB-DNS opens a high-precision scheduling service domain name according to a request for opening the high-precision scheduling service domain name sent by a client;
the GSLB-DNS analyzes the domain name according to the logic network node identity information ID and the domain name sent by the Access domain name server Access-DNS to obtain a first analysis result;
and the GSLB-DNS sends the first resolution result to the Access-DNS so that the Access-DNS sends the first resolution result to the client.
5. The method of claim 4, wherein before the GSLB-DNS opens the high precision dispatch service domain name according to the request for opening the high precision dispatch service domain name sent by the client, the method further comprises:
the GSLB-DNS receives a logic network node registration request sent by the Access-DNS;
and the GSLB-DNS determines the ID of the logic network node according to the registration request and sends the ID of the logic network node to the Access-DNS.
6. A domain name resolution scheduling apparatus, comprising:
the first determining module is configured to receive a domain name resolution request carrying a domain name sent by a client, and determine that the domain name is an opened high-precision scheduling service domain name;
the first processing module is configured to send a logical network node identity information ID and the domain name to a global load balancing domain name server GSLB-DNS, and receive a first resolution result obtained by the GSLB-DNS resolving the domain name based on the logical network node ID, wherein the logical network node ID is sent by the GSLB-DNS;
a first sending module configured to send the first parsing result to the client.
7. A domain name resolution scheduling apparatus, comprising:
the system comprises an opening module, a high-precision dispatching service domain name sending module and a dispatching service domain name sending module, wherein the opening module is configured to open a high-precision dispatching service domain name according to a high-precision dispatching service domain name opening request sent by a client;
the analysis module is configured to analyze the domain name according to the logical network node identity information ID and the domain name sent by the Access domain name server Access-DNS to obtain a first analysis result;
and a third sending module configured to send the first resolution result to the Access-DNS, so that the Access-DNS sends the first resolution result to the client.
8. A server, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the domain name resolution scheduling method of any of claims 1-3 via execution of the executable instructions.
9. A server, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the domain name resolution scheduling method of any of claims 4-5 via execution of the executable instructions.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the domain name resolution scheduling method according to any one of claims 1 to 3 or 4 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111580700.9A CN114430408B (en) | 2021-12-22 | 2021-12-22 | Domain name resolution scheduling method, device, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111580700.9A CN114430408B (en) | 2021-12-22 | 2021-12-22 | Domain name resolution scheduling method, device, server and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114430408A true CN114430408A (en) | 2022-05-03 |
CN114430408B CN114430408B (en) | 2024-01-02 |
Family
ID=81312115
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111580700.9A Active CN114430408B (en) | 2021-12-22 | 2021-12-22 | Domain name resolution scheduling method, device, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114430408B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110202669A1 (en) * | 2008-08-11 | 2011-08-18 | Shanghai Kelu Software Co., Ltd. | Method for Network Domain Name Resolution and the Resolution Device Thereof |
CN103167047A (en) * | 2011-12-12 | 2013-06-19 | 工业和信息化部电信传输研究所 | Domain name server (DNS) resource recording dynamic update method |
US20150341414A1 (en) * | 2014-05-20 | 2015-11-26 | Alibaba Group Holding Limited | Method and system for acquiring web pages |
WO2016082553A1 (en) * | 2014-11-25 | 2016-06-02 | 中兴通讯股份有限公司 | Method, device and system for distributing mobile network content |
CN109104506A (en) * | 2017-06-20 | 2018-12-28 | 腾讯科技(深圳)有限公司 | The determination method, apparatus and computer readable storage medium of domain name mapping rule |
WO2019010694A1 (en) * | 2017-07-14 | 2019-01-17 | 深圳前海达闼云端智能科技有限公司 | Method and device for acquiring address of local domain name server and authoritative name server |
US10498753B1 (en) * | 2016-12-08 | 2019-12-03 | Jpmorgan Chase Bank, N.A. | System and method for identifying potentially fraudulent domain name and identifiers |
CN110769039A (en) * | 2019-10-09 | 2020-02-07 | 腾讯科技(深圳)有限公司 | Resource scheduling method and device, electronic equipment and computer readable storage medium |
CN112738288A (en) * | 2020-12-24 | 2021-04-30 | 上海牙木通讯技术有限公司 | DNS domain name resolution method, DNS server, GSLB system and domain name resolution system |
CN113315852A (en) * | 2021-04-27 | 2021-08-27 | 北京奇艺世纪科技有限公司 | Domain name resolution method, device and system |
-
2021
- 2021-12-22 CN CN202111580700.9A patent/CN114430408B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110202669A1 (en) * | 2008-08-11 | 2011-08-18 | Shanghai Kelu Software Co., Ltd. | Method for Network Domain Name Resolution and the Resolution Device Thereof |
CN103167047A (en) * | 2011-12-12 | 2013-06-19 | 工业和信息化部电信传输研究所 | Domain name server (DNS) resource recording dynamic update method |
US20150341414A1 (en) * | 2014-05-20 | 2015-11-26 | Alibaba Group Holding Limited | Method and system for acquiring web pages |
WO2016082553A1 (en) * | 2014-11-25 | 2016-06-02 | 中兴通讯股份有限公司 | Method, device and system for distributing mobile network content |
US10498753B1 (en) * | 2016-12-08 | 2019-12-03 | Jpmorgan Chase Bank, N.A. | System and method for identifying potentially fraudulent domain name and identifiers |
CN109104506A (en) * | 2017-06-20 | 2018-12-28 | 腾讯科技(深圳)有限公司 | The determination method, apparatus and computer readable storage medium of domain name mapping rule |
WO2019010694A1 (en) * | 2017-07-14 | 2019-01-17 | 深圳前海达闼云端智能科技有限公司 | Method and device for acquiring address of local domain name server and authoritative name server |
CN110769039A (en) * | 2019-10-09 | 2020-02-07 | 腾讯科技(深圳)有限公司 | Resource scheduling method and device, electronic equipment and computer readable storage medium |
CN112738288A (en) * | 2020-12-24 | 2021-04-30 | 上海牙木通讯技术有限公司 | DNS domain name resolution method, DNS server, GSLB system and domain name resolution system |
CN113315852A (en) * | 2021-04-27 | 2021-08-27 | 北京奇艺世纪科技有限公司 | Domain name resolution method, device and system |
Non-Patent Citations (3)
Title |
---|
ANTONINO GALLETTA, ETAL.: "OCE-DNS: an innovative Osmotic Computing Enabled Domain Name System", 《2021 IEEE/ACM 21ST INTERNATIONAL SYMPOSIUM ON CLUSTER, CLOUD AND INTERNET COMPUTING (CCGRID)》 * |
李婕: "企业DNS***的设计与实现", 《中国优秀硕士学位论文全文数据库》 * |
黄润怀, 海锦霞 ,梁洁: "基于EDNS优化的CDN精准调度方案探讨", 《广东通信技术》, vol. 40, no. 09 * |
Also Published As
Publication number | Publication date |
---|---|
CN114430408B (en) | 2024-01-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021120969A1 (en) | Domain name resolution method, domain name resolution server, and terminal device | |
Gan et al. | LSMAC vs. LSNAT: Scalable cluster‐based Web servers | |
WO2019028683A1 (en) | Method and system for acquiring and collecting client local dns server | |
US9749445B2 (en) | System and method for updating service information for across-domain messaging in a transactional middleware machine environment | |
CN110149397A (en) | A kind of micro services integration method and device | |
CN102611756B (en) | Method and system for sending access request | |
CN109151009B (en) | CDN node distribution method and system based on MEC | |
CN101764855A (en) | Method, device and system for providing domain name resolution services | |
TW201724001A (en) | System and method for acquiring, processing and updating global information | |
CN109151025B (en) | Load balancing method and device based on URL, computer storage medium and equipment | |
CN103841150A (en) | Data delivery method and device based on content delivery network CDN | |
CN110581893B (en) | Data transmission method and device, routing equipment, server and storage medium | |
WO2017096888A1 (en) | Method and device for implementing domain name system | |
WO2019052058A1 (en) | Domain name redirecting method and system | |
EP2668740A2 (en) | Site-aware distributed file system access from outside enterprise network | |
WO2018196843A1 (en) | Resource request method and device | |
CN109327559A (en) | A kind of domain name analytic method and device based on mixing cloud platform | |
CN113556413A (en) | Message processing method and device | |
CN114448686B (en) | Cross-network communication device and method based on micro-service | |
US11303606B1 (en) | Hashing name resolution requests according to an identified routing policy | |
US11323368B1 (en) | System and method for web service atomic transaction (WS-AT) affinity routing | |
US8972604B1 (en) | Network address retention and assignment | |
CN114430408B (en) | Domain name resolution scheduling method, device, server and storage medium | |
CN110149365B (en) | Service adaptation method, device, system and computer readable medium | |
CN104731660A (en) | Data distribution method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |