Neo_M590E V1 GPRS Module AT Command Set
Copyright © Neoway Technology Co., Ltd
4 DNS Command
4.1 Querying the IP Address: +DNS
<string>: The website URL to be queried, in form of www.xxxx.com
<CR><LF>OK<CR><LF>
<CR><LF>+DNS:<ip>
<CR><LF>+DNS:OK<CR><LF>
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"
Failed to translate the DNS in to IP
address because PPP is not activated
The URL length should not exceed 250 bytes.
Activate PPP before executing this command.