Synaccess-networks NP-0801DTM Manual do Utilizador Página 254

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 330
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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”.
Vista de página 253
1 2 ... 249 250 251 252 253 254 255 256 257 258 259 ... 329 330

Comentários a estes Manuais

Sem comentários