CN108124020B - Domain name resolution method, system and equipment - Google Patents

Domain name resolution method, system and equipment Download PDF

Info

Publication number
CN108124020B
CN108124020B CN201611058693.5A CN201611058693A CN108124020B CN 108124020 B CN108124020 B CN 108124020B CN 201611058693 A CN201611058693 A CN 201611058693A CN 108124020 B CN108124020 B CN 108124020B
Authority
CN
China
Prior art keywords
edge cache
dns server
local dns
cache nodes
addresses
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.)
Active
Application number
CN201611058693.5A
Other languages
Chinese (zh)
Other versions
CN108124020A (en
Inventor
侯光华
冀晖
李建军
张平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianyi Cloud Technology Co Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201611058693.5A priority Critical patent/CN108124020B/en
Publication of CN108124020A publication Critical patent/CN108124020A/en
Application granted granted Critical
Publication of CN108124020B publication Critical patent/CN108124020B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1036Load balancing of requests to servers for services different from user content provisioning, e.g. load balancing across domain name servers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a domain name resolution method, a domain name resolution system and domain name resolution equipment, and relates to the technical field of content distribution networks. The method comprises the following steps: the global load balancing GSLB equipment receives a DNS query request sent by a local domain name system DNS server, wherein the DNS query request comprises an IP address of the local DNS server; the GSLB equipment determines the IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS according to the IP address of the local DNS; the GSLB equipment returns the IP addresses and the service priorities of the edge cache nodes to the local DNS server, so that the local DNS server distributes the IP addresses of the edge cache nodes to the users according to the service priorities of the edge cache nodes, and accordingly balanced distribution of access users to the edge cache nodes is achieved according to the service capacity of the edge cache nodes.

Description

Domain name resolution method, system and equipment
Technical Field
The present invention relates to the field of content distribution network technologies, and in particular, to a method, a system, and a device for domain name resolution.
Background
In the technical field of Content Delivery Networks (CDN), a GSLB device can schedule a request of an internet user to an edge cache node closest to the user based on a Domain Name System (DNS) technology (Global Load Balance).
In a general case, there are a plurality of edge cache nodes serving the same region, and the processing capacity of each edge cache node may be different. At this time, the GSLB configures a service priority according to a processing capability of each edge cache node, and the GSLB allocates a node IP to the local DNS server according to the service priority of the edge cache node.
To reduce the number of DNS requests, the local DNS server may cache the resolution results obtained from the GSLB. The number of users served by the local DNS server is very different, and the GSLB does not know the number of users served by the local DNS server, so that the GSLB cannot accurately implement load balancing by allocating edge cache nodes according to configured service priorities, and even a situation may occur in which an edge cache node with a small processing capability has a large access amount instead, so that a situation in which a user has a slow access and even a domain name resolution system cannot serve may be caused.
Disclosure of Invention
The invention aims to solve the technical problems that: a domain name resolution scheme with more balanced load is provided.
According to an aspect of an embodiment of the present invention, there is provided a domain name resolution method, including: the global load balancing GSLB equipment receives a DNS query request sent by a local domain name system DNS server, wherein the DNS query request comprises an IP address of the local DNS server; the GSLB equipment determines the IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS according to the IP address of the local DNS; the GSLB device returns the IP addresses and the service priorities of the edge cache nodes to the local DNS server, so that the local DNS server distributes the IP addresses of the edge cache nodes to the user according to the service priorities of the edge cache nodes.
In some embodiments, determining the IP addresses and service priorities of a plurality of edge caching nodes corresponding to the local DNS server comprises: the GSLB device determines a plurality of edge cache nodes which belong to the same region with the local DNS server; and the GSLB equipment determines the service priority of the edge cache nodes according to the performance indexes of the edge cache nodes.
According to another aspect of the embodiments of the present invention, a load balancing method based on domain name resolution is provided, including: a local DNS server receives a DNS query request initiated by a user; a local DNS server acquires IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS server; and the local DNS server allocates the IP addresses of the edge cache nodes to the user according to the acquired service priority of the edge cache nodes.
In some embodiments, the obtaining, by the local DNS server, the IP addresses and the service priorities of the plurality of edge cache nodes corresponding to the local DNS server includes: the method comprises the steps that a local DNS server sends a DNS query request to a GSLB device, wherein the DNS query request comprises an IP address of the local DNS server, so that the GSLB device determines the IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS server according to the IP address of the local DNS server; and the local DNS server receives the IP addresses and the service priority of the plurality of edge cache nodes sent by the GSLB equipment.
In some embodiments, the method further comprises: the local DNS server locally stores the received IP addresses and service priority of the plurality of edge cache nodes as a prioritized DNS resource record.
In some embodiments, the obtaining, by the local DNS server, the IP addresses and the service priorities of the plurality of edge cache nodes corresponding to the local DNS server includes: the local DNS server locally queries the DNS resource record with the priority to acquire the IP addresses and the service priority of a plurality of edge cache nodes corresponding to the local DNS server.
In some embodiments, the local DNS server assigning the IP address of the edge cache node to the user according to the service priority of the plurality of edge cache nodes comprises: the local DNS server calculates the ratio of the service priority of each edge cache node to the sum of the service priorities of all edge cache nodes; and the local DNS server randomly allocates the IP addresses of the edge cache nodes to the user by taking the ratio of the edge cache nodes as the probability.
According to still another aspect of an embodiment of the present invention, there is provided a GSLB apparatus including: the system comprises a message receiving module, a DNS query module and a DNS query module, wherein the message receiving module is used for receiving a DNS query request sent by a local domain name system DNS server, and the DNS query request comprises an IP address of the local DNS server; the resource determining module is used for determining the IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS according to the IP address of the local DNS; and the message sending module is used for returning the IP addresses of the edge cache nodes and the service priority to the local DNS server so that the local DNS server can distribute the IP addresses of the edge cache nodes to the user according to the service priority.
In some embodiments, the resource determination module comprises: an address determination unit configured to determine a plurality of edge cache nodes belonging to the same area as an IP address of a local DNS server; and the weight determining unit is used for determining the service priority of the plurality of edge cache nodes according to the performance indexes of the plurality of edge cache nodes.
According to another aspect of an embodiment of the present invention, there is provided a local DNS server including: the information receiving module is used for receiving a DNS query request initiated by a user; a resource obtaining module, configured to obtain IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS server; and the resource allocation module is used for allocating the IP addresses of the edge cache nodes to the user according to the acquired service priorities of the edge cache nodes.
In some embodiments, the resource acquisition module comprises: the information sending unit is used for sending a DNS query request to the GSLB equipment, wherein the DNS query request comprises the IP address of the local DNS server, so that the GSLB equipment determines the IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS server according to the local DNS server; and the information receiving unit is used for receiving the IP addresses and the service priorities of the plurality of edge cache nodes sent by the GSLB equipment.
In some embodiments, the resource acquisition module further comprises: and the resource storage unit is used for locally storing the received IP addresses and the service priorities of the plurality of edge cache nodes as DNS resource records with priorities.
In some embodiments, the resource acquisition module further comprises: and the resource query unit is used for locally querying the DNS resource record with the priority so as to obtain the IP addresses and the service priority of the edge cache nodes corresponding to the local DNS server.
In some embodiments, the resource allocation module comprises: the ratio calculation unit is used for calculating the ratio of the service priority of each edge cache node to the sum of the service priorities of all the edge cache nodes; and the address allocation unit is used for randomly allocating the IP addresses of the edge cache nodes to the user by taking the ratio of each edge cache node as the probability.
According to still another aspect of the embodiments of the present invention, there is provided a domain name resolution system including the GSLB appliance described above and the DNS server described above.
In some embodiments, the system further comprises an authoritative DNS server comprising: a request receiving module, configured to receive a DNS query request sent by the local DNS server; and the request response module is used for sending the host alias record to the local DNS server so that the local DNS sends a DNS query request to the GSLB through the host alias record.
In the invention, a GSLB device receives a DNS query request sent by a DNS server, and determines the IP addresses and service priorities of a plurality of edge cache nodes corresponding to a local DNS server according to the IP address of a user initiating the DNS query request; the GSLB device returns the IP addresses and the service priorities of the edge cache nodes to the local DNS server, and the local DNS server distributes the IP addresses of the edge cache nodes to the user according to the service priorities of the edge cache nodes. Therefore, a domain name resolution scheme with more balanced load is provided, and access users are distributed to the edge cache nodes in a balanced manner according to the service capacity of the edge cache nodes.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a domain name resolution method according to an embodiment of the present invention.
Fig. 2 shows the domain name resolution response returned by GSLB to the local DNS server.
Fig. 3 is a flowchart illustrating an embodiment of a method for a local DNS server to obtain IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS server according to the present invention.
Fig. 4 shows a schematic diagram of the relevant parameter configuration of the APRE record.
Fig. 5 shows a data structure diagram of the APRE.
Fig. 6 shows a schematic structural diagram of an embodiment of the GSLB apparatus of the present invention.
Fig. 7 shows a schematic structural diagram of an embodiment of the local DNS server of the present invention.
Fig. 8 is a schematic structural diagram of an embodiment of the domain name resolution system of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The inventor considers that in the prior art, the GSLB appliance allocates the access users according to the processing capacity of the edge cache node, and only the local DNS server can be used as the allocation granularity, so that the user access amount of the edge cache node is inconsistent with the allocation proportion expected by the GSLB. Therefore, the inventor proposes a method for performing accurate load balancing according to the processing capacity of the edge cache node based on the DNS technology.
An embodiment of the domain name resolution method of the present invention is first described with reference to fig. 1.
Fig. 1 is a flowchart illustrating a domain name resolution method according to an embodiment of the present invention. As shown in fig. 1, the domain name resolution system includes a local DNS server and a GSLB device. The domain name resolution method of the embodiment comprises the following steps:
step S102, a user sends a DNS query request to a local DNS server, and the local DNS server receives the DNS query request initiated by the user.
There are typically multiple users in the area served by a local DNS server, so in a common situation, multiple users may initiate DNS query requests to the same local DNS server.
Step S104, the local DNS server obtains the IP addresses and the service priority of a plurality of edge cache nodes corresponding to the local DNS server.
For example, as shown in fig. 2, in the prior art, when a user requests access to a domain name www.test.com, the local DNS server returns an edge cache node IP address 218.30.108.32 with the highest service priority to the user. In step S102, the local DNS server returns four edge cache node IP addresses with the highest priority to the user, which are the first edge cache node IP address 218.30.108.32, the second edge cache node IP address 218.30.108.32:50, the third edge cache node IP address 219.11.101.234:30, and the fourth edge cache node IP address 219.11.101.234:20, respectively. The service priorities of the four edge cache nodes may be, for example, a first edge cache node service priority 70, a second edge cache node service priority 20, a third edge cache node service priority 15, and a fourth edge cache node service priority 15 in sequence.
And step S106, the local DNS server distributes the IP addresses of the edge cache nodes to the user according to the acquired service priority of the edge cache nodes.
The local DNS server may first calculate a ratio of the service priority of each edge cache node to a total of the service priorities of all the edge cache nodes. Then, the local DNS server randomly allocates an IP address of each edge cache node to the user with the ratio of each edge cache node as a probability.
Taking the first edge cache node as an example, the ratio of the service priority of the first edge cache node to the service priorities of all the edge cache nodes is 70/100-70%. The local DNS server then distributes 70% of the DNS query requests for that user to the first edge cache node. The case of other edge cache nodes is handled with reference to a similar method.
In the above embodiment, the local DNS server randomly allocates the IP addresses of the edge cache nodes to the users according to the service priorities of the edge cache nodes, so that a domain name resolution scheme with more balanced load is provided, and balanced allocation of access users to the edge cache nodes is realized according to the service capabilities of the edge cache nodes.
A method for the local DNS server to obtain IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS server is described below with reference to fig. 3.
Fig. 3 is a flowchart illustrating an embodiment of a method for a local DNS server to obtain IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS server according to the present invention. As shown in fig. 3, on the basis of the embodiment shown in fig. 1, step S104 of this embodiment includes:
step S3042, the local DNS server sends a DNS query request to the GSLB device, and the GSLB device receives the DNS query request sent by the local domain name system DNS server. Wherein the DNS query request includes an IP address of the local DNS server.
For example, a local DNS server first sends a DNS query request to an authoritative DNS server. And after receiving the DNS query request, the authorized DNS server returns the host alias record to the local DNS server. The local DNS sends DNS query requests to the GSLB via host alias records.
Step S3044, the GSLB device determines, according to the IP address of the local DNS server, the IP addresses and the service priorities of the plurality of edge cache nodes corresponding to the local DNS server.
The GSLB appliance may first determine a plurality of edge cache nodes belonging to the same domain as the local DNS server. Then, the GSLB device determines service priorities of the plurality of edge cache nodes according to the performance index of each edge cache node.
Step S3046, the GSLB appliance returns the IP addresses and the service priorities of the plurality of edge cache nodes to the local DNS server, and the local DNS server receives the IP addresses and the service priorities of the plurality of edge cache nodes sent by the GSLB appliance.
According to the DNS record protocol in the prior art, the GSLB appliance returns the IP address of the edge cache node to the local DNS server in the form of a host IP record (referred to as an a record for short). In order for the GSLB appliance to return the IP addresses of the plurality of edge cache nodes and the service priority to the local DNS server, a new DNS record protocol type may be added to the existing DNS record protocol. For example, RR (Resource Record) type APRE is added, and a specific value thereof may be allocated by IANA (The Internet Assigned Numbers Authority). The relevant parameter configuration of the APRE record may be as shown in fig. 4, for example. The main difference from the host IP record (referred to as a record for short) in the prior art is that the APRE record takes five bytes. The first four bytes are used for storing the IP address of the edge cache node, and the fifth byte is used for storing the service priority of the edge cache node. The data structure of the APRE may be, for example, as shown in fig. 5.
Those skilled in the art will appreciate that the DNS response packet returned by the GSLB to the local DNS server may include two RR records. If the local DNS server supports the APRE record, GSLB returns the A record and the APRE record to the local DNS server, and the local DNS server uses the APRE record at the rear part of the message and ignores the A record at the front part. If the local DNS server does not support the APRE record, after the GSLB returns the A record and the APRE record to the local DNS server, the local DNS server only uses the A record positioned in the front part of the message and ignores the APRE record in the rear part, thereby enabling different devices to be compatible with the APRE record.
In the embodiment, the access of the edge cache node can be performed according to the number of the access users really served by the local DNS, and the access amount of the internet users can be more accurately distributed according to the processing capacity of the edge node. Therefore, the situation that the access amount of each edge cache node is inconsistent with the processing capacity caused by distributing the edge cache nodes by taking the local DNS as a user by the GSLB is avoided.
Preferably, step S104 may further include:
step S3048, the local DNS server locally stores the received IP addresses and service priorities of the multiple edge cache nodes as DNS resource records with priorities, so that the local DNS server performs corresponding feedback according to the DNS resource records when the user initiates DNS query again.
For example, as shown in fig. 2, a parameter 600 represents that the lifetime of the prioritized DNS resource record is 600 seconds, that is, the prioritized DNS resource record is valid within 600 seconds, and the user initiates a feedback that the local DNS server responds according to the DNS resource record when performing the DNS query again.
In step S3041, the local DNS server locally queries a DNS resource record with priority.
If the local DNS server locally stores the DNS resource record with priority, the local DNS server can directly obtain the IP addresses and service priorities of the plurality of edge cache nodes corresponding to the local DNS server. If the local DNS server does not locally store the DNS resource record with priority, step S3042 to step S3046 are executed to obtain the IP addresses and service priorities of the edge cache nodes corresponding to the local DNS server.
In the above embodiment, the local DNS server may not obtain the IP addresses and service priorities of the plurality of edge cache nodes corresponding to the local DNS server from the GSLB when the DNS resource records with priorities are locally stored, and directly allocate the IP addresses of the edge cache nodes to the user according to the stored DNS resource records with priorities, thereby improving the overall efficiency of domain name resolution.
An embodiment of the GSLB apparatus of the invention is described below with reference to fig. 6.
Fig. 6 shows a schematic structural diagram of an embodiment of the GSLB apparatus of the present invention. As shown in fig. 6, the GSLB apparatus 60 in this embodiment includes:
the message receiving module 602 is configured to receive a DNS query request sent by a local domain name system DNS server, where the DNS query request includes an IP address of the local DNS server.
The resource determining module 604 is configured to determine, according to the IP address of the local DNS server, IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS server.
A message sending module 606, configured to return the IP addresses of the multiple edge cache nodes and the service priority to the local DNS server, so that the local DNS server allocates the IP addresses of the edge cache nodes to the user according to the service priority.
In one embodiment, the resource determination module 604 includes:
an address determination unit 6042 configured to determine a plurality of edge cache nodes belonging to the same area as the local DNS server;
a weight determining unit 6044, configured to determine service priorities of the plurality of edge cache nodes according to the performance indicators of the plurality of edge cache nodes.
One embodiment of the local DNS server of the present invention is described below in conjunction with fig. 7.
Fig. 7 shows a schematic structural diagram of an embodiment of the local DNS server of the present invention. As shown in fig. 7, the local DNS server 70 in this embodiment includes:
an information receiving module 702, configured to receive a DNS query request initiated by a user.
The resource obtaining module 704 is configured to obtain IP addresses and service priorities of a plurality of edge cache nodes corresponding to the DNS server.
And the resource allocation module 706 is configured to allocate the IP addresses of the edge cache nodes to the user according to the obtained service priorities of the plurality of edge cache nodes.
In one embodiment, resource acquisition module 704 includes:
an information sending unit 7042, configured to send a DNS query request to the GSLB device, where the DNS query request includes an IP address of the local DNS server, so that the GSLB device determines, according to the local DNS server, IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS server.
An information receiving unit 7044, configured to receive the IP addresses and the service priorities of the multiple edge cache nodes sent by the GSLB device.
In one embodiment, the resource acquisition module 704 further comprises: the resource storage unit 7046 is configured to locally store the received IP addresses and service priorities of the plurality of edge cache nodes as prioritized DNS resource records.
In one embodiment, the resource acquisition module 704 further comprises: the resource querying unit 7041 is configured to query the DNS resource records with priorities locally to obtain IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS server.
In one embodiment, the resource allocation module 706 includes:
a ratio calculation unit 7062, configured to calculate a ratio between the service priority of each edge cache node and a total of the service priorities of all edge cache nodes;
an address allocating unit 7064 is configured to randomly allocate IP addresses of the edge cache nodes to the user, with a ratio of each edge cache node as a probability.
One embodiment of the domain name resolution system of the present invention is described below in conjunction with fig. 8.
Fig. 8 is a schematic structural diagram of an embodiment of the domain name resolution system of the present invention. As shown in fig. 8, domain name resolution system 80 in this embodiment includes GSLB appliance 60 and local DNS server 70.
In one embodiment, domain name resolution system 80 further includes authoritative DNS server 802, authoritative DNS server 802 including:
a request receiving module 8022, configured to receive a DNS query request sent by a local DNS server.
A request response module 8024, configured to send the host alias record to the local DNS server, so that the local DNS sends the DNS query request to the GSLB through the host alias record.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The present invention is not limited to the above preferred embodiments, and any modifications, equivalent replacements, improvements, etc. within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (14)

1. A domain name resolution method, the method comprising:
the global load balancing GSLB equipment receives a DNS query request sent by a local domain name system DNS server, wherein the DNS query request comprises an IP address of the local DNS server;
the GSLB equipment determines the IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS according to the IP address of the local DNS;
the GSLB device returns the IP addresses and the service priorities of the edge cache nodes to the local DNS server, so that the local DNS server calculates the ratio of the service priority of each edge cache node to the sum of the service priorities of all the edge cache nodes, and the IP addresses of the edge cache nodes are randomly distributed to the user by taking the ratio of each edge cache node as the probability.
2. The method of claim 1, wherein the determining the IP addresses and service priorities of the plurality of edge caching nodes corresponding to the local DNS server comprises:
the GSLB device determines a plurality of edge cache nodes which belong to the same region with the local DNS server;
and the GSLB equipment determines the service priority of the edge cache nodes according to the performance indexes of the edge cache nodes.
3. A load balancing method based on domain name resolution is characterized by comprising the following steps:
a local DNS server receives a DNS query request initiated by a user;
a local DNS server acquires IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS server;
the local DNS server calculates the ratio of the service priority of each edge cache node to the sum of the service priorities of all edge cache nodes;
and the local DNS server randomly allocates the IP addresses of the edge cache nodes to the user by taking the ratio of the edge cache nodes as the probability.
4. The method of claim 3, wherein the local DNS server obtaining IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS server comprises:
the method comprises the steps that a local DNS server sends a DNS query request to a GSLB device, wherein the DNS query request comprises an IP address of the local DNS server, so that the GSLB device determines the IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS server according to the IP address of the local DNS server;
and the local DNS server receives the IP addresses and the service priority of the plurality of edge cache nodes sent by the GSLB equipment.
5. The method of claim 4, wherein the method further comprises:
the local DNS server locally stores the received IP addresses and service priority of the plurality of edge cache nodes as a prioritized DNS resource record.
6. The method of claim 3, wherein the local DNS server obtaining IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS server comprises:
the local DNS server locally queries the DNS resource record with the priority to acquire the IP addresses and the service priority of a plurality of edge cache nodes corresponding to the local DNS server.
7. A GSLB appliance, characterized in that the GSLB appliance comprises:
the system comprises a message receiving module, a DNS query module and a DNS query module, wherein the message receiving module is used for receiving a DNS query request sent by a local domain name system DNS server, and the DNS query request comprises an IP address of the local DNS server;
the resource determining module is used for determining the IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS according to the IP address of the local DNS;
and the message sending module is used for returning the IP addresses and the service priorities of the edge cache nodes to the local DNS server so that the local DNS server can calculate the ratio of the service priority of each edge cache node to the sum of the service priorities of all the edge cache nodes, and randomly distributes the IP addresses of each edge cache node to the user by taking the ratio of each edge cache node as the probability.
8. The GSLB device of claim 7, wherein the resource determination module comprises:
an address determination unit, configured to determine a plurality of edge cache nodes belonging to the same area as the local DNS server;
and the weight determining unit is used for determining the service priority of the plurality of edge cache nodes according to the performance indexes of the plurality of edge cache nodes.
9. A local DNS server, characterized in that the local DNS server comprises:
the information receiving module is used for receiving a DNS query request initiated by a user;
a resource obtaining module, configured to obtain IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS server;
the resource allocation module is used for allocating the IP addresses of the edge cache nodes to the user according to the acquired service priorities of the edge cache nodes; the resource allocation module comprises: the ratio calculation unit is used for calculating the ratio of the service priority of each edge cache node to the service priority of the sum of all the edge cache nodes; and the address allocation unit is used for randomly allocating the IP addresses of the edge cache nodes to the user by taking the ratio of each edge cache node as the probability.
10. The local DNS server of claim 9, wherein the resource acquisition module comprises:
the information sending unit is used for sending a DNS query request to the GSLB equipment, wherein the DNS query request comprises the IP address of the local DNS server, so that the GSLB equipment determines the IP addresses and service priorities of a plurality of edge cache nodes corresponding to the local DNS server according to the local DNS server;
and the information receiving unit is used for receiving the IP addresses and the service priorities of the plurality of edge cache nodes sent by the GSLB equipment.
11. The local DNS server of claim 10, wherein the resource acquisition module further comprises:
and the resource storage unit is used for locally storing the received IP addresses and the service priorities of the plurality of edge cache nodes as DNS resource records with priorities.
12. The local DNS server of claim 9, wherein the resource acquisition module further comprises:
and the resource query unit is used for locally querying the DNS resource record with the priority so as to obtain the IP addresses and the service priority of the edge cache nodes corresponding to the local DNS server.
13. A domain name resolution system, the system comprising:
the GSLB device of claim 7 or 8, and
the DNS server according to any one of claims 9 to 12.
14. The domain name resolution system of claim 13, wherein the system further comprises an authoritative DNS server, the authoritative DNS server comprising:
a request receiving module, configured to receive a DNS query request sent by the local DNS server;
and the request response module is used for sending the host alias record to the local DNS server so that the local DNS sends a DNS query request to the GSLB through the host alias record.
CN201611058693.5A 2016-11-28 2016-11-28 Domain name resolution method, system and equipment Active CN108124020B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611058693.5A CN108124020B (en) 2016-11-28 2016-11-28 Domain name resolution method, system and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611058693.5A CN108124020B (en) 2016-11-28 2016-11-28 Domain name resolution method, system and equipment

Publications (2)

Publication Number Publication Date
CN108124020A CN108124020A (en) 2018-06-05
CN108124020B true CN108124020B (en) 2021-03-09

Family

ID=62224080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611058693.5A Active CN108124020B (en) 2016-11-28 2016-11-28 Domain name resolution method, system and equipment

Country Status (1)

Country Link
CN (1) CN108124020B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881515B (en) * 2018-07-09 2021-10-08 迈普通信技术股份有限公司 Domain name resolution method, device and network equipment
CN110602264B (en) * 2019-09-02 2022-05-10 ***通信集团江苏有限公司 Method, apparatus, device and medium for transferring domain name resolution address weight information
CN113411158B (en) * 2020-03-17 2022-04-29 烽火通信科技股份有限公司 Processing method and system for preempting time slot resources at two ends of link
CN112511660B (en) * 2020-11-12 2023-11-24 北京软通智慧科技有限公司 Management system, method and device of edge terminal equipment and storage medium
CN112738288A (en) * 2020-12-24 2021-04-30 上海牙木通讯技术有限公司 DNS domain name resolution method, DNS server, GSLB system and domain name resolution system
CN113254196A (en) * 2021-04-26 2021-08-13 工业互联网创新中心(上海)有限公司 Data processing method and system based on edge calculation and related device
CN113608877B (en) * 2021-08-13 2023-11-10 牙木科技股份有限公司 Load balancing scheduling method for IPV4 and IPV6 resource pools of content providers
CN114301872B (en) * 2021-12-27 2023-12-26 奇安信科技集团股份有限公司 Domain name based access method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640684A (en) * 2009-08-21 2010-02-03 中国电信股份有限公司 Content delivering method, network system, GSLB device and domain name server
CN101710905A (en) * 2009-12-17 2010-05-19 中国联合网络通信集团有限公司 Address resolution control method and system based on tactics
CN102148752A (en) * 2010-12-22 2011-08-10 华为技术有限公司 Routing implementing method based on content distribution network and related equipment and system
CN102244687A (en) * 2010-05-13 2011-11-16 华为技术有限公司 Method, device and system for acquiring multi-address message
CN104243627A (en) * 2014-08-29 2014-12-24 华为技术有限公司 Domain name resolution method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640684A (en) * 2009-08-21 2010-02-03 中国电信股份有限公司 Content delivering method, network system, GSLB device and domain name server
CN101710905A (en) * 2009-12-17 2010-05-19 中国联合网络通信集团有限公司 Address resolution control method and system based on tactics
CN102244687A (en) * 2010-05-13 2011-11-16 华为技术有限公司 Method, device and system for acquiring multi-address message
CN102148752A (en) * 2010-12-22 2011-08-10 华为技术有限公司 Routing implementing method based on content distribution network and related equipment and system
CN104243627A (en) * 2014-08-29 2014-12-24 华为技术有限公司 Domain name resolution method, device and system

Also Published As

Publication number Publication date
CN108124020A (en) 2018-06-05

Similar Documents

Publication Publication Date Title
CN108124020B (en) Domain name resolution method, system and equipment
US11811657B2 (en) Updating routing information based on client location
CN109040259B (en) CDN node distribution method and system based on MEC
US11025585B2 (en) Enhanced content route selection in content delivery networks
EP3567881B1 (en) Request routing and updating routing information utilizing client location information
CN111541796B (en) CDN access flow scheduling method, device, communication system and storage medium
CN109151009B (en) CDN node distribution method and system based on MEC
US11018976B2 (en) Enhanced infrastructure routing with prefixed network addressing in content delivery networks
CN111464649B (en) Access request source returning method and device
Adhikari et al. Where do you" tube"? uncovering youtube server selection strategy
WO2021098407A1 (en) Mec-based service node allocation method and apparatus, and related server
CN103825975A (en) Cdn node distribution server and system
CN104378452A (en) Method, device and system for domain name resolution
WO2015039475A1 (en) Method, server, and system for domain name resolution
CN112738288A (en) DNS domain name resolution method, DNS server, GSLB system and domain name resolution system
CN108737591B (en) Service configuration method and device
CN109743357B (en) Method and device for realizing service access continuity
US8972604B1 (en) Network address retention and assignment
CN111245974A (en) Address allocation method, device, equipment and storage medium
CN107277126B (en) Cloud computing resource management method and device
CN109302505B (en) Data transmission method, system, device and storage medium

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
TR01 Transfer of patent right

Effective date of registration: 20220126

Address after: 100007 room 205-32, floor 2, building 2, No. 1 and No. 3, qinglonghutong a, Dongcheng District, Beijing

Patentee after: Tianyiyun Technology Co.,Ltd.

Address before: No.31, Financial Street, Xicheng District, Beijing, 100033

Patentee before: CHINA TELECOM Corp.,Ltd.

TR01 Transfer of patent right