
ENHANCED IP STACK AT COMMANDS
AT Commands for EV-DO-EV3 Modems
where:
<hostnn> Hostname, string type.
<IPaddrn> IP address, string type, in the format “xxx.xxx.xxx.xxx”.
Syntax
Command Command type
AT#CACHEDNS=[<mode>] Set
AT#CACHEDNS? Read
AT#CACHEDNS=? Test
Parameters and Values
<mode>
0 Caching disabled or clear current cache.
1 Caching enabled.
Notes
The validity period of each cached entry—that is, 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
deleted element is the one not used for the longest time.
It is recommended that you clean the cache, if command +CCLK is issued while the DNS Response Caching
was enabled.
Example
AT#CACHEDNS=1
OK
AT#QDNS=google.com
#QDNS: "google.com","74.125.227.2"
OK
AT#QDNS=Yahoo.com
#QDNS: "Yahoo.com","98.139.183.24"
OK
AT#CACHEDNS=?
#CACHEDNS: ("google.com","74.125.227.2"),("Yahoo.com","98.139.183.24"),(0,1)
OK
Manual DNS Selection #DNS
Set command allows manual setting of primary and secondary DNS servers.
Read command returns the manual DNS servers settings, in the format:
#DNS: <cid>,<primary>,<secondary>
Kommentare zu diesen Handbüchern