ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev. 11 Page 714 of 1039 2021-09-23
3.15.31. AT#QDNS - Query DNS
The command executes a DNS query
AT#QDNS[=<host name>]
Execution command executes a DNS query to solve the host name into an
IP address. If the DNS query is successful, then the IP address will be
reported in the result code as follows:
#QDNS: <host name>,<IP address>
Parameter:
IP address in the result code
IP address in format
"xxx.xxx.xxx.xxx", or empty string if
DNS query was unsuccessful.
The command activates the PDP context if it was not
previously activated. In this case the context is deactivated after
the DNS query.
This command requires that the authentication parameters are
correctly set, and the PS network is present.