Chapter 3: AT Commands Reference
June 30, 2008 AT Commands Reference Manual 3-421
Example
AT+MS DNS =?
+MSDNS: (1-5),(<IP>),(<IP>)
OK
AT+MSDNS? // read when MIPCALL is disconnected
+MSDNS: 1,"0.0.0.0","0.0.0.0"
+MSDNS: 2,"0.0.0.0","0.0.0.0"
+MSDNS: 3,"0.0.0.0","0.0.0.0"
+MSDNS: 4,"0.0.0.0","0.0.0.0"
+MSDNS: 5,"0.0.0.0","0.0.0.0"
OK
AT+MSDNS=2,"212.150.49.10","206.49.94.234" //set socket 2 prim & sec DNS
OK
AT+MSDNS=4,"62.120.55.10" //set socket 4 prim DNS only
OK
AT+MSDNS=5,"212.150.49.10","206.49.94.234" //set socket 5 prim & sec DNS
OK
AT+MSDNS? // read when MIPCALL is disconnected
+MSDNS: 1,"0.0.0.0","0.0.0.0"
+MSDNS: 2,"212.150.49.10","206.49.94.234"
+MSDNS: 3,"0.0.0.0","0.0.0.0"
+MSDNS: 4,"62.120.55.10","0.0.0.0"
+MSDNS: 5,"212.150.49.10","206.49.94.234"
OK
AT+MIPCALL=1,"internet"
OK
+MIPCALL: 10.170.7.91
AT+MSDNS? // read when MIPCALL is connected
+MSDNS: 1,"192.118.9.177","192.118.11.77"
+MSDNS: 2,"212.150.49.10","206.49.94.234"
+MSDNS: 3,"192.118.9.177","192.118.11.77"
+MSDNS: 4,"62.120.55.10","192.118.11.77"
+MSDNS: 5,"212.150.49.10","206.49.94.234"
OK
AT+MSDNS=2 // socket #2 set to default values
OK
AT+MS DNS ?
+MSDNS: 1,"192.118.9.177","192.118.11.77"
+MSDNS: 2,"192.118.9.177","192.118.11.77"
+MSDNS: 3,"192.118.9.177","192.118.11.77"
+MSDNS: 4,"62.120.55.10","192.118.11.77"
+MSDNS: 5,"212.150.49.10","206.49.94.234"
OK
AT+MSDNS= // all sockets set to default values