SIM5300E AT Command Manual V1.02
7.2.14 AT+CDNSCFG Configure Domain Name Server
AT+CDNSCFG Configure Domain Name Server
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
If error is related to ME functionality:
+CME ERROR: <err>
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
7.2.15 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
If error is related to ME functionality:
+CME ERROR: <err>
If successful, return:
+CDNSGIP: 1, <domain name>,<IP1>[,<IP2>]