IP Library › Granted Patent US 10,757,065
Granted Patent B2
US 10,757,065 · App. 16/362,456 · Granted Aug 25, 2020

Domain name resolution method, device and system, and storage medium

Inventors: Fangzhou Chen (Shenzhen, CN); Jiangqi Wu (Shenzhen, CN); Fengbo Jiang (Shenzhen, CN); Jun Qin (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
H04L61/10H04L61/1511H04L61/2507H04L61/35
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,757,065
App. No.
16/362,456
Granted
Aug 25, 2020
Kind
B2
Abstract

Embodiments of the present disclosure disclose a domain name resolution method, apparatus, and system, and a storage medium. The method includes: receiving a domain name resolution request sent by a network device, the domain name resolution request carrying a first target domain name that needs to be resolved; using the first target domain name as an initial value of a second target domain name; resolving the second target domain name, to obtain a corresponding resolution result; determining whether the resolution result is corresponds to a network address of a preset type; and repeating the aforementioned operations using the resolution result as the second target domain name until a resolution result corresponding to the network address of the preset type is obtained; and after obtaining the resolution result corresponding to the network address of the preset type, returning the resolution result to the network device.

Claims (75)

1. A domain name resolution method performed at a server having one or more processors and memory storing a plurality of programs to be executed by the one or more processors, the method comprising:

receiving a domain name resolution request sent by a network device, the domain name resolution request carrying a first target domain name that needs to be resolved;

using the first target domain name as an initial value of a second target domain name;

resolving the second target domain name, to obtain a corresponding resolution result;

determining whether the resolution result corresponds to a network address of a preset type; and

repeating the aforementioned operations using the resolution result as the second target domain name until a resolution result corresponding to the network address of the preset type is obtained; and

after obtaining the resolution result corresponding to the network address of the preset type, returning the resolution result to the network device.

2. The method according to claim 1 , wherein the operation of resolving the second target domain name, to obtain a corresponding resolution result comprises:

searching for configuration information of the second target domain name; and

determining, according to the configuration information, an address to which the second target domain name points, to obtain the corresponding resolution result.

3. The method according to claim 2 , further comprising:

after searching for configuration information of the second target domain name:

determining, when a record type of the configuration information is a canonical name (CNAME) record, whether accelerated resolution needs to be performed on the second target domain name;

if yes, performing the step of determining whether the resolution result corresponds to the network address of the preset type; and

if not, sending the resolution result to the network device.

4. The method according to claim 2 , further comprising:

after searching for configuration information of the second target domain name:

sending the resolution result to the network device when a record type of the configuration information is an A record.

5. The method according to claim 1 , further comprising:

before using the resolution result as the second target domain name:

determining whether configuration information of the resolution result exists;

if yes, performing the step of using the resolution result as the second target domain name; and

if not, sending the resolution result to the network device.

6. The method according to claim 1 , wherein the determining whether the resolution result is a network address of a preset type comprises:

determining whether the resolution result is an Internet Protocol (IP) address.

7. A server for domain name resolution, comprising one or more processors, memory coupled to the one or more processors, and a plurality of computer-readable instructions that, when executed by the one or more processors, cause the server to perform the following operations:

receiving a domain name resolution request sent by a network device, the domain name resolution request carrying a first target domain name that needs to be resolved;

using the first target domain name as an initial value of a second target domain name;

resolving the second target domain name, to obtain a corresponding resolution result;

determining whether the resolution result corresponds to a network address of a preset type; and

repeating the aforementioned operations using the resolution result as the second target domain name until a resolution result corresponding to the network address of the preset type is obtained; and

after obtaining the resolution result corresponding to the network address of the preset type, returning the resolution result to the network device.

8. The server according to claim 7 , wherein the operation of resolving the second target domain name, to obtain a corresponding resolution result comprises:

searching for configuration information of the second target domain name; and

determining, according to the configuration information, an address to which the second target domain name points, to obtain the corresponding resolution result.

9. The server according to claim 8 , wherein the operations further comprise:

after searching for configuration information of the second target domain name:

determining, when a record type of the configuration information is a canonical name (CNAME) record, whether accelerated resolution needs to be performed on the second target domain name;

if yes, performing the step of determining whether the resolution result corresponds to the network address of the preset type; and

if not, sending the resolution result to the network device.

10. The server according to claim 8 , wherein the operations further comprise:

after searching for configuration information of the second target domain name:

sending the resolution result to the network device when a record type of the configuration information is an A record.

11. The server according to claim 7 , wherein the operations further comprise:

before using the resolution result as the second target domain name:

determining whether configuration information of the resolution result exists;

if yes, performing the step of using the resolution result as the second target domain name; and

if not, sending the resolution result to the network device.

12. The server according to claim 7 , wherein the operation of determining whether the resolution result is a network address of a preset type comprises:

determining whether the resolution result is an Internet Protocol (IP) address.

13. A non-transitory computer readable storage medium storing a plurality of instructions in connection with a server having one or more processors, wherein the plurality of instructions, when executed by the one or more processors, cause the server to perform a plurality of operations including:

receiving a domain name resolution request sent by a network device, the domain name resolution request carrying a first target domain name that needs to be resolved;

using the first target domain name as an initial value of a second target domain name;

resolving the second target domain name, to obtain a corresponding resolution result;

determining whether the resolution result corresponds to a network address of a preset type; and

repeating the aforementioned operations using the resolution result as the second target domain name until a resolution result corresponding to the network address of the preset type is obtained; and

after obtaining the resolution result corresponding to the network address of the preset type, returning the resolution result to the network device.

14. The non-transitory computer readable storage medium according to claim 13 , wherein the operation of resolving the second target domain name, to obtain a corresponding resolution result comprises:

searching for configuration information of the second target domain name; and

determining, according to the configuration information, an address to which the second target domain name points, to obtain the corresponding resolution result.

15. The non-transitory computer readable storage medium according to claim 14 , wherein the operations further comprise:

after searching for configuration information of the second target domain name:

determining, when a record type of the configuration information is a canonical name (CNAME) record, whether accelerated resolution needs to be performed on the second target domain name;

if yes, performing the step of determining whether the resolution result corresponds to the network address of the preset type; and

if not, sending the resolution result to the network device.

16. The non-transitory computer readable storage medium according to claim 14 , wherein the operations further comprise:

after searching for configuration information of the second target domain name:

sending the resolution result to the network device when a record type of the configuration information is an A record.

17. The non-transitory computer readable storage medium according to claim 13 , wherein the operations further comprise:

before using the resolution result as the second target domain name:

determining whether configuration information of the resolution result exists;

if yes, performing the step of using the resolution result as the second target domain name; and

if not, sending the resolution result to the network device.

18. The non-transitory computer readable storage medium according to claim 13 , wherein the operation of determining whether the resolution result is a network address of a preset type comprises:

determining whether the resolution result is an Internet Protocol (IP) address.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 8, 2019
From: CHEN, FANGZHOU; WU, JIANGQI; JIANG, FENGBO; QIN, JUN
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 050657/0827 →
Priority Claims (1)
CN 2016 1 1078704 · Nov 28, 2016 · national
Continuity (2)
Continuation PCTCN2017110342 · Nov 10, 2017
Related Publication 20190222551A1 · Jul 18, 2019
Cited By (1)
US 12,341,746