Smart Machine Smart Decision
SIM7000 Series_AT Command Manual_V1.03 135 2018-05-08
8.2.14 AT+CDNSCFG Configure Domain Name Server
AT+CDNSCFG Configure Domain Name Server
Test Command
AT+CDNSCFG=
?
Response
+CDNSCFG: ("Primary DNS"),("Secondary DNS")
Parameters
See Write Command
Read Command
AT+CDNSCFG?
Response
PrimaryDns: <pri_dns>
SecondaryDns: <sec_dns>
OK
Parameter
See Write Command
Write Command
AT+CDNSCFG=
<pri_dns>[,<sec_
dns>]
Response
OK
ERROR
Parameters
<pri_dns> A string parameter
which indicates the IP address of the
primary domain name server. Default value is 0.0.0.0.
<sec_dns> A string parameter which indicates the IP address of the
secondary domain name server. Default value is 0.0.0.0.
NO_SAVE
Time
-
Reference
Note
8.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
ERROR
If successful, return: