Specifications
ENHANCEDIPSTACKEXTENSIONATCOMMANDS
255 HSPA+ATCommandsReferenceGuide
Syntax
Command Commandtype
AT#CACHEDNS=[<mode>] Set
AT#CACHEDNS? Read
AT#CACHEDNS=? Test
ParametersandValues
<mode>
0 Cachingdisabledorclearcurrentcache.
1 Cachingenabled.
Notes
Thevalidityperiodofeachcachedentry—thatis,howlongaDNSresponseremainsvalid—isdeterminedbya
valuecalledtheTimeToLive(TTL),setbytheadministratoroftheDNSserverha ndingouttheresponse.
Ifthecacheisfull(8elements)andanewIPaddressisresolved,anelementisdeletedfromthecache.The
deletedelementistheonenotusedforthelongesttime.
Itisrecommendedthatyoucleanthecache,ifcommand+CCLKisissuedwhiletheDNSResponseCachingwas
enabled.
ManualDNSSelection#DNS
SetcommandallowstomanuallysetprimaryandsecondaryDNSserverseitherforaPDPcontextdefinedby
+CGDCONTorforaGSMcontextdefinedby#GSMCONT.
ReadcommandreturnsthemanualDNSserversseteitherforeverydefinedPD Pconte xtandforthesingleGSM
context(onlyifdefined),intheformat:
[#DNS:<ci
d>,<primary>,<secondary>[<CR><LF>
#DNS:<cid>,<primary>,<secondary>]]
Testcommandreportsthesupportedrangeofvaluesforthe<cid>parameteronly,intheformat:
#DNS:(0,5),,
Syntax
Command Commandtype
AT#DNS=<cid>,<primary>,<secondary> Set
AT#DNS? Read
AT#DNS=? Test
ParametersandValues
<cid> Contextidentifier.
0 SpecifiestheGSMcontext.
1‐5 NumericparameterthatspecifiesaparticularPDPcontextdefinition.
<primary>
Stringtype,manualprimaryDNSserver,intheformat“xxx.xxx.xxx.xxx”usedfor