![Telit Wireless Solutions DE910-DUAL Reference Manual Download Page 185](http://html1.mh-extra.com/html/telit-wireless-solutions/de910-dual/de910-dual_reference-manual_1083623185.webp)
DE910-DUAL AT commands reference guide
80392ST10102A Rev.2 – 2012-07-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 185 of 261
#CACHEDNS - DNS Response Caching
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
Parameters:
<cid>
- context identifier
1 - numeric parameter which specifies a particular PDP context
definition
<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
this value instead of the
secondary DNS server
come from
the network (default is “0.0.0.0”).
Note: if
<primary> is ”0.0.0.0.0”
and
<secondary> is not “0.0.0.0”
, then
issuing
AT#DNS=…
raises an error.
Note: if
<primary> is ”0.0.0.0.0”
we’re using the
primary DNS server
come from the network as consequence of context activation.
Note: if
<primary> is not ”0.0.0.0”
and
<secondary> is “0.0.0.0”
, then
we’re using only the
manual primary DNS server.
Note: the context identified by
<cid>
has to be previously defined,
elsewhere issuing
AT#DNS=…
raises an error.
Note: the context identified by
<cid>
has to be not activated yet, elsewhere