UC864
UC864
UC864
UC864----E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6 ---- 2010
2010
2010
2010----0
00
05
55
5----20
20
20
20
Reproduction forbidden without Telit Communications S.p.A’s. written authorization - All Rights Reserved.
Page 275 of 329
3.5.7.4.9.
DNS Response Caching
DNS Response Caching
DNS Response Caching
DNS Response Caching ---- #CACHEDNS
#CACHEDNS
#CACHEDNS
#CACHEDNS
#CACHEDNS
#CACHEDNS
#CACHEDNS
#CACHEDNS ---- DNS Response Caching
DNS Response Caching
DNS Response Caching
DNS Response Caching
AT#CACHEDNS=
AT#CACHEDNS=
AT#CACHEDNS=
AT#CACHEDNS=
[<mode>]
[<mode>]
[<mode>]
[<mode>]
Set command enables caching a mapping of domain names to IP
addresses, as does a resolver library.
Parameter:
<mode>
<mode>
<mode>
<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
Time To Live
Time To Live
Time To Live (TTL
TTL
TTL
TTL), set
by the administrator of the DNS server handing out the response.
Note: it is recommended to clean the cache, if cCCLK
+CCLK
+CCLK
+CCLK has been
issued while the DNS Response Caching was enabled
AT#CACHEDNS?
AT#CACHEDNS?
AT#CACHEDNS?
AT#CACHEDNS?
Read command reports whether the DNS Response Caching is currently
enabled or not, in the format:
#CACHEDNS: <mode>
#CACHEDNS: <mode>
#CACHEDNS: <mode>
#CACHEDNS: <mode>
AT#CACHEDNS=?
AT#CACHEDNS=?
AT#CACHEDNS=?
AT#CACHEDNS=?
Test command returns the currently cached mapping along with the range
of available values for parameter <mode>
<mode>
<mode>
<mode>, in the format:
#CACHEDNS: [<hostn
#CACHEDNS: [<hostn
#CACHEDNS: [<hostn
#CACHEDNS: [<hostn
1111
>,<IPaddr
>,<IPaddr
>,<IPaddr
>,<IPaddr
1111
>,[…,[<hostn
>,[…,[<hostn
>,[…,[<hostn
>,[…,[<hostn
n
nn
n
>,<IPaddr
>,<IPaddr
>,<IPaddr
>,<IPaddr
n
nn
n
>,]]](0,1)
>,]]](0,1)
>,]]](0,1)
>,]]](0,1)
where:
<hostn
<hostn
<hostn
<hostn
n
nn
n
>
>
>
> - hostname, string type
<IPaddr
<IPaddr
<IPaddr
<IPaddr
n
nn
n
>
>
>
> - IP address, string type, in the format “xxx.xxx.xxx.xxx”
“xxx.xxx.xxx.xxx”
“xxx.xxx.xxx.xxx”
“xxx.xxx.xxx.xxx”
3.5.7.4.10.
Manual DNS Selection
Manual DNS Selection
Manual DNS Selection
Manual DNS Selection ---- #DNS
#DNS
#DNS
#DNS
#DNS
#DNS
#DNS
#DNS –
––
– Manual DNS Selection
Manual DNS Selection
Manual DNS Selection
Manual DNS Selection
AT#DNS=<cid>,
AT#DNS=<cid>,
AT#DNS=<cid>,
AT#DNS=<cid>,
<primary>,
<primary>,
<primary>,
<primary>,
<secondary>
<secondary>
<secondary>
<secondary>
Set command allows to manually set primary and secondary DNS servers
for a PDP context defined by +CGDCONT
+CGDCONT
+CGDCONT
+CGDCONT
Parameters:
<cid>
<cid>
<cid>
<cid> - context identifier
1..5 - numeric parameter which specifies a particular PDP context
definition
<primary>
<primary>
<primary>
<primary> - manual primary DNS server
manual primary DNS server
manual primary DNS server
manual primary DNS server, string type, in the format
“xxx.xxx.xxx.xxx”
“xxx.xxx.xxx.xxx”
“xxx.xxx.xxx.xxx”
“xxx.xxx.xxx.xxx” used for the specified cid; we’re using this
value instead of the primary DNS server
primary DNS server
primary DNS server
primary DNS server come from the network (default is
“0.0.0.0”)
<secondary>
<secondary>
<secondary>
<secondary> - manual secondary DNS server
manual secondary DNS server
manual secondary DNS server
manual secondary DNS server, string type, in the format