FIELD: communications.
SUBSTANCE: invention relates to a method for accessing a domain name system and a communications device. The first network element receives a DNS request from the terminal device including the first domain name. A DNS lookup query is used to query the IP address corresponding to the first domain name. The first network element sends first request information containing terminal device location information and a first domain name to the second network element. The second network element determines, based on the first request information, an IP address corresponding to both the first domain name and the location of the terminal device, and returns the IP address to the first network element. According to the method provided in the application, when a terminal device makes a domain name request, the core network element determines the IP address of the corresponding application server based on the location information of the terminal device and the requested domain name. In this way, the terminal device obtains the IP address of the application server closest to the terminal device and accesses the nearest service, thereby improving the service access efficiency of the terminal device.
EFFECT: increasing the efficiency of access to the terminal device service and reducing the delay of access to the terminal device service.
26 cl, 33 dwg, 1 tbl
Authors
Dates
2024-01-09—Published
2020-08-19—Filed