| CPC H04L 61/4511 (2022.05) [H04L 61/4552 (2022.05)] | 20 Claims |

|
1. A domain name server (DNS) query method, wherein the method comprises:
receiving, by a first communication device, a DNS query to obtain a fully qualified domain name (FQDN);
sending, by the first communication device, first information to a second communication device, wherein the first information comprises the FQDN or N server Internet protocol (IP) addresses corresponding to the FQDN, and N is a positive integer;
obtaining, by the first communication device, N pieces of server experience information from the second communication device, wherein one piece of server experience information corresponds to one server IP address of the FQDN, and each piece of server experience information is used to indicate service experience of a server corresponding to a respective corresponding server IP address; and
sending, by the first communication device, a DNS response to a terminal based on the server experience information.
|