M10 AT Commands Set
M10_ATC_V1.01 - 145 -
Test Command
AT+QIDNSCFG
=?
Response
OK
Read command
AT+QIDNSCFG
?
Response
PrimaryDns: <pri_dns>
SecondaryDns: <sec_dns>
OK
Write Command
AT+QIDNSCFG
=<pri_dns>[,<sec
_dns>]
Response
OK
ERROR
Parameters
<pri_dns> a string parameter which indicates the IP address of the
primary domain name server
<sec_dns> a string parameter which indicates the IP address of the
secondary domain name server
Reference
Note
7.2.11 AT+QIDNSGIP Query The IP Address Of Given Domain Name
AT+QIDNSGIP Query The IP Address Of Given Domain Name
Test Command
AT+QIDNSGIP=
?
Response
OK
Write Command
AT+QIDNSGIP=
<domain name>
Response
OK
ERROR
If successful, return:
<IP address>
If fail, return:
ERROR: <err>
STATE: <state>
Parameters
<domain name> a string parameter which indicates the domain
name
<IP address> a string parameter which indicates the IP address
corresponding to the domain name
<
err > a numeric parameter which indicates the error code
1 DNS not Authorization
2 invalid parameter
3 network error
4 no server
5 time out
6 no configuration