Msdns, Set Dns Ip Address - Motorola G24 Guide Developer's Manual

At commands
Hide thumbs Also See for G24 Guide:
Table of Contents

Advertisement

GPRS/EDGE

+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, G24 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 Type
Set
Read
Test
The following table shows the +MSDNS parameters.
<Socket_id>
<Primary DNS server IP>, <Secondary
DNS server IP>
3-412
Syntax
AT+MSDNS=[<Socket_id>[,
<Primary DNS server IP>
[,<Secondary DNS server
IP>]]]
AT+MSDNS?
AT+MSDNS=?
Table 3-276: +MSDNS Parameters
<Parameter>
AT Commands Reference Manual
Response/Action
OK
or:
+CME ERROR: <err>
+MSDNS: 1,<Primary DNS server
IP>,< Secondary DNS server
IP><CR><LF>
+MSDNS: 2,<Primary DNS server
IP>,< Secondary DNS server
IP><CR><LF>
+MSDNS: 3,<Primary DNS server
IP>,< Secondary DNS server
IP><CR><LF>
+MSDNS: 4,<Primary DNS server
IP>,< Secondary DNS server
IP><CR><LF>
+MSDNS: 5,<Primary DNS server
IP>,< Secondary DNS server
IP><CR><LF>
<CR><LF>
OK
+MSDNS: (List of supported
<Socket_id>s),(<IP>),(<IP>)
Description
A unique number that identifies a connection (provided
by the terminal application).
0 - Invalid socket number
1,2,3,4 - Valid socket number
5 - Valid socket number dedicated to +MPING.
IP of the destination site in the format
"AAA.BBB.CCC.DDD". The range of each octant is
0-255. The value can be written in 1, 2, or 3 digits.
Remarks
December 31, 2007

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents