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 392 of 509
Mod. 0808 2011-07 Rev.2
DNS Response Caching - #CACHEDNS
#CACHEDNS – DNS Response Caching
[<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: If the cache is full (8 elements) and a new IP address is resolved, an element
is deleted from the cache: the one that has not been used for the longest time.
Note: it is recommended to clean the cache, if command +CCLK has been issued
while the DNS Response Caching was enabled.
Read command reports whether the DNS Response Caching is currently enabled or
not, in the format:
Test command returns the currently cached mapping along with the range of
available values for parameter <mode>, in the format:
#CACHEDNS: [<hostn1>,<IPaddr1>,[…,[<hostnn>,<IPaddrn>,]]](0,1)
where:
<hostnn> - hostname, string type
<IPaddrn> - IP address, string type, in the format “xxx.xxx.xxx.xxx”