LE910-SKG AT commands reference guide
80437ST10619A Rev.1 – 2014-09-16
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 213 of 273
#QDNS - Query DNS
Note:
<IP address>
is in the format:
xxx.xxx.xxx.xxx
AT#QDNS=?
Test command returns the
OK
result code.
Note
This command requires that the authentication parameters are correctly set and that
the EPS network is present.
#CACHEDNS - DNS Response Caching
AT#CACHEDNS=
[<mode>]
Set command enables caching a mapping of domain names to IP
addresses, as does a resolver library.
Parameter:
<mode>
0 - caching disabled; it cleans the cache too
1 - caching enabled
Note: the validity period of each cached entry (i.e. how long a DNS
response remains valid) is determined by a value called the
Time To Live
(
TTL
), set by the administrator of the DNS server handing out the response.
Note: it is recommended to clean the cache, if command
+CCLK
has been
issued while the DNS Response Caching was enabled
AT#CACHEDNS?
Read command reports whether the DNS Response Caching is currently
enabled or not, in the format:
#CACHEDNS: <mode>
AT#CACHEDNS=?
Test command returns the currently cached mapping along with the range
of available values for parameter
<mode>
, in the format:
#CACHEDNS: [<hostn
1
>,<IPaddr
1
>,[…,[<hostn
n
>,<IPaddr
n
>,]]](0,1)
where:
<hostn
n
>
- hostname, string type
<IPaddr
n
>
- IP address, string type, in the format
“xxx.xxx.xxx.xxx”
#DNS – Manual DNS Selection
AT#DNS=[<cid>,
<primary>,
<secondary>]
Set command allows to manually set primary and secondary DNS servers
for a PDP context defined by
+CGDCONT
Parameters:
<cid>
- context identifier
1..5 - numeric parameter which specifies a particular PDP context definition.
(see
+CGDCONT
command)
<primary>
-
manual primary DNS server
, string type, in the format
“xxx.xxx.xxx.xxx”
used for the specified cid; we’re using this
value instead of the
primary DNS server
come from the
network (default is “0.0.0.0”)
<secondary>
-
manual secondary DNS server
, string type, in the format
“xxx.xxx.xxx.xxx”
used for the specified cid; we’re using
Summary of Contents for LE910-SKG
Page 1: ......