Synaccess-networks NP-0801DTM Uživatelský manuál Strana 254

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 330
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 253
ENHANCEDIPSTACKEXTENSIONAT
COMMA
NDS
HSPA+ATCommandsReferenceGuide 254
EnhancedIPStackExtensionATCommands
QueryDNS#QDNS
ExecutecommandexecutesaDNSquerytoresolvethehostnameintoanIPaddress.
TestcommandreturnstheOKresultcode.
Syntax
Command Commandtype
AT#QDNS=[<hostname>] Execute
AT#QDNS=? Test
ParametersandValues
<hostname> Stringtype,hostname.
IftheDNSqueryissuccessful,theIPaddressisreportedintheresultcode,as
follows:
#QDNS:<hostname>,<IPaddress>
Where:
<hostname>‐stringtype.
<IPaddress>‐stringtype,intheformat“xxx.xxx.xxx.xxx”.
Notes
ThecommandhastoactivatetheGPRScontextifitwasnotpreviouslyactivated.Inthiscasethecontextis
deactivatedaftertheDNSquery.ItalsoworkswithGSMcontext,buttheGSMcontexthastobeactivated
before.
ThiscommandrequirescorrectsettingsforauthenticationparametersandthattheGPRSnetworkispresent(or
GSM,ifGSMcontextisused).
Thiscommandisavailableonly onthefirstvirtualportofCMUXandworksonthePDPcontext1andonthefirst
ConnId.SeeAT#SCFG.
DNSResponseCaching#CACHEDNS
SetcommandenablescachingamappingofdomainnamestoIPaddresses,asdoesaresolverlibrary.
ReadcommandreportswhethertheDNSResponseCachingiscurrentlyenabledornot,intheformat:
#CACHEDNS:<mode>
Testcommandreturnsthecurrentlycachedmappingalongwiththerangeofavailablevaluesforparameter
<mode>,intheformat:
#CACHEDNS:[<hostn1>,<I
Paddr1>,[…,[<hostnn>,<IPaddrn>,]]](0,1)
where:
<hostnn> Hostname,stringtype.
<IPaddrn> IPaddress,stringtype,intheformat“xxx.xxx.xxx.xxx”.
Zobrazit stránku 253
1 2 ... 249 250 251 252 253 254 255 256 257 258 259 ... 329 330

Komentáře k této Příručce

Žádné komentáře