Specifications
SIM900 AT Command Manual       
SIM900_AT Command Manual_V1.03  182  12/24/2010 
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> 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, 
   12 DNS NO SERVER ADDR, 
   13 DNS NO MEMORY, 
   14 DNS INVALID NAME, 
15 DNS INVALID RESP, 
There are some other error code as well. 
Reference 
Note 
8.2.15 AT+CIPHEAD Add an IP Head at the Beginning of a Package Received 
AT+CIPHEAD Add an IP Head at the Beginning of a Package Received 
Response 
+CIPHEAD: (list of supported <mode>s) 
OK 
Test Command 
AT+CIPHEAD=
? 
Parameter 
See Write Command 
Response 
+CIPHEAD: <mode> 
OK 
Read Command 
AT+CIPHEAD? 
Parameter 
See Write Command 
Write Command 
AT+CIPHEAD=
<mode> 
Response 
OK 
ERROR 










