A domain name access method, comprising: sending, by a terminal device, a request message to a domain name system server, wherein the request message comprises a domain name requested by the terminal device; receiving, by the domain name system server, the request message from the terminal device; performing, by the domain name system server, resolution on the domain name, to obtain an Internet Protocol, IP, address of an application server corresponding to the domain name; sending, by the domain name system server, a response message to the terminal device, wherein the response message comprises the IP address of the application server and use condition information, and the use condition information indicates a condition in which the terminal device accesses the domain name by using the IP address of the application server, when the terminal device satisfies the condition, wherein the use condition information comprises at least one of the following: set information and location range information, the set information indicates at least one IP address of the terminal device, and the location range information indicates a location range in which the terminal device is located, wherein when the use condition information comprises the set information, that the terminal device does no longer satisfy the condition indicated by the use condition information comprises: an IP address of the terminal device changes and the changed IP address of the terminal device is not comprised in the at least one IP address indicated by the set information; and/or when the use condition information comprises the location range information, that the terminal device does not satisfy the condition indicated by the use condition information comprises: 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; receiving, by the terminal device, the response message from the DNS server; and performing, by the terminal device, domain name system resolution on the domain name when the terminal device does not satisfy the condition indicated by the use condition information. sending, by a terminal device, a request message to a domain name system server, wherein the request message comprises a domain name requested by the terminal device; receiving, by the domain name system server, the request message from the terminal device; performing, by the domain name system server, resolution on the domain name, to obtain an Internet Protocol, IP, address of an application server corresponding to the domain name; sending, by the domain name system server, a response message to the terminal device, wherein the response message comprises the IP address of the application server and use condition information, and the use condition information indicates a condition in which the terminal device accesses the domain name by using the IP address of the application server, when the terminal device satisfies the condition, wherein the use condition information comprises at least one of the following: set information and location range information, the set information indicates at least one IP address of the terminal device, and the location range information indicates a location range in which the terminal device is located, wherein when the use condition information comprises the set information, that the terminal device does no longer satisfy the condition indicated by the use condition information comprises: an IP address of the terminal device changes and the changed IP address of the terminal device is not comprised in the at least one IP address indicated by the set information; and/or when the use condition information comprises the location range information, that the terminal device does not satisfy the condition indicated by the use condition information comprises: 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; receiving, by the terminal device, the response message from the DNS server; and performing, by the terminal device, domain name system resolution on the domain name when the terminal device does not satisfy the condition indicated by the use condition information.