EasyManua.ls Logo

Neoway M590E - DNS Command; Querying IP Address

Neoway M590E
65 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Neo_M590E V1 GPRS Module AT Command Set
Copyright © Neoway Technology Co., Ltd
39
4 DNS Command
4.1 Querying the IP Address: +DNS
Description
To query the IP address
Format
AT+DNS=<string><CR>
Parameter
<string>: The website URL to be queried, in form of www.xxxx.com
Return Value
<CR><LF>OK<CR><LF>
<CR><LF>+DNS:<ip>
<CR><LF>+DNS:OK<CR><LF>
Example
AT+DNS=" www.neoway.com.cn "
OK
+DNS: 112.127.8.18
+DNS:OK
Query the IP address
of www.neoway.com.cn, and the module
returns the IP address 112.127.8.18.
AT+DNS="www.neoway.com.cn"
OK
+DNS:Error
Failed to translate the DNS in to IP
address because PPP is not activated
Remarks
The URL length should not exceed 250 bytes.
Activate PPP before executing this command.

Table of Contents

Related product manuals