9 dns response caching - #cachedns, 10 manual dns selection - #dns – Rainbow Electronics GM862-QUAD-PY User Manual
Page 342

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 342 of 434
#QDNS - Query DNS
SELINT 2
Note: the command has to activate the GPRS context if it was not
previously activated. In this case the context is deactivated after the DNS
query. It also works with GSM context, but the GSM context has to be
activated before.
AT#QDNS=?
Test command returns the OK result code.
Note
This command requires that the authentication parameters are correctly set
and that the GPRS network is present (or GSM, if GSM context is used).
Note Issuing
command
#QDNS will overwrite
command #SKTSET.
3.5.7.5.9 DNS Response Caching - #CACHEDNS
#CACHEDNS – DNS Response Caching
SELINT 2
AT#CACHEDNS=
[
Set command enables caching a mapping of domain names to IP
addresses, as does a resolver library.
Parameter:
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:
AT#CACHEDNS=?
Test command returns the currently cached mapping along with the range
of available values for parameter
#CACHEDNS: [
where:
3.5.7.5.10 Manual DNS Selection - #DNS