
ī
ENHANCEDīIPīSTACKīEXTENSIONīATī
ī
HSPA+īATīCommandsīReferenceīGuideī 254
ī
EnhancedīIPīStackīExtensionīATīCommandsīī
QueryīDNSīīī#QDNSī
ExecuteīcommandīexecutesīaīDNSīqueryītoīresolveītheīhostīnameīintoīanīIPīaddress.ī
TestīcommandīreturnsītheīOKīresultīcode.ī
Syntaxī
Commandī Commandītypeī
AT#QDNS=[<hostīname>]ī Executeī
AT#QDNS=?ī Testī
ParametersīandīValuesī
<hostīname>ī Stringītype,īhostīname.ī
ī
IfītheīDNSīqueryīisīsuccessful,ītheīIPīaddressīisīreportedīinītheīresultīcode,īasī
follows:ī
#QDNS:ī<hostīname>,<IPīaddress>ī
Where:ī
<hostīname>īāīstringītype.ī
<IPīaddress>īāīstringītype,īinītheīformatīāxxx.xxx.xxx.xxxā.ī
Notesī
ī 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.ī
ī ThisīcommandīrequiresīcorrectīsettingsīforīauthenticationīparametersīandīthatītheīGPRSīnetworkīisīpresentī(orī
GSM,īifīGSMīcontextīisīused).ī
ī Thisīcommandīisīavailableīonly īonītheīfirstīvirtualīportīofīCMUXīandīworksīonītheīPDPīcontextī1īandīonītheīfirstī
ConnId.īSeeīAT#SCFG.ī
DNSīResponseīCachingīīī#CACHEDNS ī
SetīcommandīenablesīcachingīaīmappingīofīdomainīnamesītoīIPīaddresses,īasīdoesīaīresolverīlibrary.ī
ReadīcommandīreportsīwhetherītheīDNSīResponseīCachingīisīcurrentlyīenabledīorīnot,īinītheīformat:ī
#CACHEDNS:ī<mode>ī
Testīcommandīreturnsītheīcurrentlyīcachedīmappingīalongīwithītheīrangeīofīavailableīvaluesīforīparameterī
<mode>,īinītheīformat:ī
#CACHEDNS:ī[<hostn1>,<I
Paddr1>,[ā¦,[<hostnn>,<IPaddrn>,]]](0,1)ī
where:ī
<hostnn>ī Hostname,īstringītype.ī
<IPaddrn>ī IPīaddress,īstringītype,īinītheīformatīāxxx.xxx.xxx.xxxā.ī
ī
Comments to this Manuals