# US 2021/0344641 A1 · Domain name access method and device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0344641 A1
- Document ID: US20210344641A1
- Status: Published application
- Kind: A1
- Application number: 17/373,390
- Filed: 2021-07-12
- Published: 2021-11-04
- Earliest claimed: 2017-10-27
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Jiao YANG; Yan Li
- Web page: https://patentgrep.com/patent/US20210344641A1

## CPC

- H04L 61/5053: Lease time; Renewal aspects
- H04L 61/58: Caching of addresses or names
- H04L 47/286: {Time to live}
- H04L 61/00: Network arrangements, protocols or services for addressing or naming
- H04L 61/4511: using domain name system [DNS]
- H04L 2101/69: using geographic information, e.g. room number
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A domain name access method and a device are described. As described herein, a domain name server (DNS) server performs resolution on a domain name requested by the terminal device. The DNS server may then send an internet protocol (IP) address of an application server obtained through the resolution and use condition information to the terminal device. With this, communication efficiency of the terminal device can be improved, and waste of transmission resources in a communications system is also avoided.

## Claims

### Claim 1

A domain name access method, comprising:
receiving, by a server managing at least one application server, a request message from a terminal device, wherein the request message comprises a domain name requested by the terminal device;
determining, by the server, an Internet Protocol (IP) address of an application server corresponding to the domain name; and
sending, by the server, a response message to the terminal device, wherein the response message comprises the IP address of the application server and use condition information, the use condition information comprising a condition in which the terminal device is only allowed to access the domain name using the IP address of the application server when the terminal device satisfies the condition indicated by the use condition information, and wherein the use condition information comprises location range information that indicates a location range in which the terminal device is located.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the use condition information further comprises set information that indicates at least one IP address of the terminal device.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the request message further comprises location information of the terminal device, the method further comprising:
determining, by the server, the use condition information based on the location information of the terminal device.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the request message further comprises an IP address of the terminal device, the method further comprising:
determining, by the server, the use condition information based on the IP address of the terminal device comprised in the request message.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the method further comprises:
sending, by the server, indication information to the terminal device, wherein the indication information instructs the terminal device to perform domain name system resolution on the domain name when the terminal device does not satisfy the condition indicated by the use condition information.

### Claim 6

A domain name access method, comprising:
sending, by a terminal device, a request message to a server managing at least one application server, wherein the request message comprises a domain name requested by the terminal device;
receiving, by the terminal device, a response message from the server, wherein the response message comprises an Internet Protocol (IP) address of an application server and use condition information, the application server corresponds to the domain name, the use condition information comprising a condition in which the terminal device is only allowed to access the domain name using the IP address of the application server when the terminal device satisfies the condition indicated by the use condition information, and wherein the use condition information comprises location range information that indicates a location range in which the terminal device is located; and
determining, by the terminal device, a second IP address based on the domain name when the terminal device does not satisfy the condition indicated by the use condition information.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the method further comprises:
receiving, by the terminal device, indication information from the server, wherein the indication information instructs the terminal device to determine the second IP address based on the domain name when the terminal device does not satisfy the condition indicated by the use condition information; and
determining, by the terminal device based on the indication information, whether the terminal device satisfies the condition indicated by the use condition information.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the method further comprises:
temporarily storing, by the terminal device, a caching record, wherein the caching record comprises the domain name, the use condition information, and the IP address of the application server.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the caching record further comprises time to live (TTL) of the caching record, the method further comprising:
determining, by the terminal device, that the terminal device does not satisfy, within the TTL, the condition indicated by the use condition information.

### Claim 10 (depends on 6)

The method according to claim 6, further comprising:
determining, by the terminal device, that the terminal device does not satisfy the condition indicated by the use condition information when a location of the terminal device changes and the changed location of the terminal device is not within the location range indicated by the location range information.

### Claim 11

An apparatus for a server managing at least one application server, comprising:
a receiver configured to receive a request message from a terminal device, wherein the request message comprises a domain name requested by the terminal device;
a processor, coupled with a memory storing at least one instruction, the processor configured to execute the at least one instruction to determine an Internet Protocol (IP) address of an application server corresponding to the domain name; and
a transmitter configured to send a response message to the terminal device, wherein the response message comprises the IP address of the application server and use condition information, the use condition information comprising a condition in which the terminal device is only allowed to access the domain name using the IP address of the application server when the terminal device satisfies the condition indicated by the use condition information, and wherein the use condition information comprises location range information that indicates a location range in which the terminal device is located.

### Claim 12 (depends on 11)

The apparatus according to claim 11, wherein the use condition information further comprises set information that indicates at least one IP address of the terminal device.

### Claim 13 (depends on 11)

The apparatus according to claim 11, wherein the request message further comprises location information of the terminal device; and the processor is further configured to execute the at least one instruction to determine the use condition information based on the location information of the terminal device comprised in the request message.

### Claim 14 (depends on 11)

The apparatus according to claim 11, wherein the request message further comprises an IP address of the terminal device; the processor is further configured to execute the at least one instruction to determine the use condition information based on the IP address of the terminal device comprised in the request message.

### Claim 15 (depends on 11)

The apparatus according to claim 11, wherein the transmitter is further configured to send indication information to the terminal device, wherein the indication information instructs the terminal device to perform domain name system resolution on the domain name when the terminal device does not satisfy the condition indicated by the use condition information.

### Claim 16

An apparatus for a terminal device, comprising:
a transmitter configured to send a request message to a server managing at least one application server, wherein the request message comprises a domain name requested by the terminal device;
a receiver configured to receive a response message from the server, wherein the response message comprises an Internet Protocol (IP) address of an application server and use condition information, the application server corresponds to the domain name, the use condition information comprising a condition in which the terminal device is only allowed to access the domain name using the IP address of the application server when the terminal device satisfies the condition indicated by the use condition information, and wherein the use condition information comprises location range information that indicates a location range in which the terminal device is located; and
a processor, coupled with a memory storing at least one instruction, the processor configured to execute the at least one instruction to determine a second IP address based on the domain name when the terminal device does not satisfy the condition indicated by the use condition information.

### Claim 17 (depends on 16)

The apparatus according to claim 16, wherein the processor is further configured to execute the at least one instruction to determine that the terminal device does not satisfy the condition indicated by the use condition information when a location of the terminal device changes and the changed location of the terminal device is not within the location range indicated by the location range information.

### Claim 18 (depends on 16)

The apparatus according to claim 16, wherein the processor is further configured to execute the at least one instruction to temporarily store a caching record after the receiver receives the response message from the server, wherein the caching record comprises the domain name, the use condition information, and the IP address of the application server.

### Claim 19 (depends on 18)

The apparatus according to claim 18, wherein the caching record further comprises time to live (TTL) of the caching record; and
to determine that the terminal device does not satisfy the condition indicated by the use condition information, the processor is configured to execute the at least one instruction to determine that the terminal device does not satisfy, within the TTL, the condition indicated by the use condition information.

### Claim 20 (depends on 16)

The apparatus according to claim 16, wherein the receiver is further configured to receive indication information from the server, wherein the indication information instructs the terminal device to determine the second IP address based on the domain name when the terminal device does not satisfy the condition indicated by the use condition information; and
the processor is further configured to execute the at least one instruction to determine, based on the indication information, whether the terminal device satisfies the condition indicated by the use condition information.
