Telit LE910 V2 Series AT Commands
80446ST10707A Rev. 0– 2015-11-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 391 of 509
Mod. 0808 2011-07 Rev.2
Query DNS - #QDNS
[<host name>]
Execution command executes a DNS query to solve the host name into an IP
address.
Parameter:
<host name> - host name, string type.
If the DNS query is successful then the IP address will be reported in the result
code, as follows:
#QDNS: <host name>,<IP address>
where
<host name> - string type
<IP address> - string type, in the format “xxx.xxx.xxx.xxx”
Note: the command has to activate the GPRS context if it was not previously
activated. In this case the context is deactivated after the DNS query. It also works
with GSM context, but the GSM context has to be activated before.
Test command returns the OK result code.
This command requires that the authentication parameters are correctly set and that
the GPRS network is present (or GSM, if GSM context is used).
Issuing command #QDNS will overwrite <remote addr> setting for command
#SKTSET.
This command is available only on the first AT instance (see AT#PORTCFG) or on
the first virtual port of CMUX and works on the PDP context 1 and on the first