Specifications

SIM900 AT Commands Set
SIM900_ATC_V1.01 179 23.06.2010
Test Command
AT+CDNSCFG=
?
Response
+CDNSCFG: (“Primary DNS”),(“Secondary DNS”)
OK
Read command
AT+CDNSCFG?
Response
PrimaryDns: <pri_dns>
SecondaryDns: <sec_dns>
OK
Write Command
AT+CDNSCFG=
<pri_dns>,[<sec_
dns>]
Response
OK
ERROR
Parameters
<pri_dns> a string parameter(string should be included in quotation
marks) which indicates the IP address of the primary
domain name server
<sec_dns> a string parameter(string should be included in quotation
marks) which indicates the IP address of the secondary
domain name server
Reference
Note
8.2.14 AT+CDNSGIP Query the IP Address of Given Domain Name
AT+CDNSGIP Query the IP Address of Given Domain Name
Test Command
AT+CDNSGIP=
?
Response
OK
Write Command
AT+CDNSGIP=
<domain name>
Response
OK
ERROR
If successful, return:
+CDNSGIP: 1, <domain name>,<IP>
If fail, return:
+CDNSGIP:0,<dns error code>
Parameters
<domain name> a string parameter(string should be included in
quotation marks) which indicates the domain name
<IP address> a string parameter(string should be included in
quotation marks) which indicates the IP address
corresponding to the domain name
<dns error code> a numeric parameter which indicates the error code
10 DNS GENERAL ERROR
11 DNS MAX RETRIES,