LE910Cx AT Commands Reference Guide
80502ST10950A Rev. 14 Page 1328 of 1904 2022-03-04
3.17.45. AT#CACHEDNS - DNS Response Caching
This command is related to DNS and DNS response caching.
AT#CACHEDNS=[<mode>]
Set command enables caching a mapping of domain names to IP
addresses, as does a resolver library.
Parameter:
caching disabled; it cleans the cache too
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.
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.
It is recommended to clean the cache, if command +CCLK has
been issued while the DNS Response Caching was enabled.