Specifications
UC864-E/G/WD/WDU AT Commands Reference Guide
80304ST10041a Rev. 7 - 2010-10-14
Reproduction forbidden without Telit Communications S.p.A’s. written authorization - All Rights Reserved. Page 264 of 318
3.5.7.4.9. DNS Response Caching - #CACHEDNS
#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”
3.5.7.4.10. Manual DNS Selection - #DNS
#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
<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










