GSM/GPRS Module
M35 AT Commands Manual
M35_AT_Commands_Manual Confidential / Released
134
/
186
Parameter
1. Because TA will negotiate to get the DNS server from GPRS/CSD network automatically when
activating GPRS/CSD context, it is STRONGLY recommended to configure the DNS server at the
status of IP GPRSACT, IP STATUS, CONNECT OK and IP CLOSE if it is necessary.
2. CSD function and configuration are not supported currently.
11.13. AT+QIDNSGIP Query the IP Address of Given Domain Name
Parameter
SecondaryDns: <sec_dns>
OK
Write Command
AT+QIDNSCFG=<pri_dns>[,<sec_dns
>]
Response
OK
ERROR
Reference
<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
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 succeeds, return:
<IP address>
If fails, return:
ERROR: <err>
STATE:
<state>
Reference
<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
NOTES