Msdns, Set Dns Ip Address - Fibocom G510 User Manual

G5/g6-family at commands
Hide thumbs Also See for G510:
Table of Contents

Advertisement

+MIPCALL: 10.170.4.111
//Ping host www.sohu.com 3 times with <TTL>=255. All other parameters are default.
AT+MPING=1,"www.sohu.com",3,,255 OK
//ICMP Echo Reply message received, RTT is 522 ms.
+MPING: "121.14.0.17",0,0,522
+MPINGSTAT: 1 // No corresponding reply within timeout.
+MPINGSTAT: 3 // Flow Control OFF.
+MPINGSTAT: 4 // Flow Control ON, a new Echo Request message is sent immediately.
+MPING: "121.14.0.17",0,0,638
//Ping request execution is completed. Statistics displayed to terminal. Three Echo Request
messages were sent, and two Echo Reply messages were received. Average RTT is 580
milliseconds.
+MPINGSTAT: 0," 121.14.0.17",3,2,580
//Ping host www.sohu.com 1 time with <TTL>=1 and <size>=1372.
AT+MPING=1,"www.sohu.com",1,1372,1
OK
//ICMP Time Exceeded message received. TTL expired in transit.
+MPING: "192.168.252.65",11,0
//Ping request execution is completed.
+MPINGSTAT: 0," 121.14.0.17",1,0

13.1.16 +MSDNS, Set DNS IP Address

This command set/read DNS (Domain Name Server) IP address (primary/secondary) for each socket. If
the user doesn't specify DNS servers by AT+MSDNS, Module will use default DNS from NW. The defined
value(s) will be saved during disconnect PDP context (can be used in next PDP context), but will reset
after power cycle.
Command
Syntax
Set
AT+MSDNS=[<Socket_ID>[
,<Primary_DNS_server_IP
>[,<Secondary_DNS_serve
r_IP>]]]
Read
AT+MSDNS?
AT Commands User Manual
Response/Action
OK
or:
+CME ERROR: <err>
+MSDNS:
1,<Primary_DNS_server_IP>,<Secondary_DNS_server_I
P><CR><LF>
+MSDNS:
2,<Primary_DNS_server_IP>,<Secondary_DNS_server_I
Page 223 of 243

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G510sG520G610-a20 seriesG620-a20 series

Table of Contents