<result>
<time>
2.3.13. AT+QIDNSCFG Configure Address of DNS Server
Before setting the DNS server address, the host must activate the context of corresponding <contextID>
with AT+QIACT first.
AT+QIDNSCFG Configure Address of DNS Server
Test command
AT+QIDNSCFG=?
Write Command
AT+QIDNSCFG=<contextID>[,<pr
idnsaddr>[,<secdnsaddr>]]
Maximum Response Time
Characteristics
Parameter
<contextID>
Integer type. PDP context ID. Range: 1–16.
pridnsaddr
String type. Primary DNS server address.
<
>
<secdnsaddr>
String type. Secondary DNS server address.
2.3.14. AT+QIDNSGIP Get IP Address by Domain Name
This commands gets an IP address by domain name. Before querying the DNS, the host should activate
the context of corresponding <contextID> with AT+QIACT first.
BG95&BG77&BG600L_Series_TCP/IP_Application_Note
BG95&BG77&BG600L Series TCP/IP Application Note
1
Set
Integer type. Result code of the operation. See Chapter 4 for details.
String type. The time synchronized from NTP server.
The format is "YYYY/MM/DD,hh:mm:sszz". Range of "zz": -48 to 56.
Response
+QIDNSCFG: (range of supported <contextID>s),<pridnsadd
r>,<secdnsaddr>
OK
Response
If the optional parameters are omitted, query the current DNS
server addresses of a specified PDP context:
+QIDNSCFG: <contextID>,<pridnsaddr>,<secdnsaddr>
OK
If any of the parameters is specified, configure the primary and
secondary DNS server addresses of a specified PDP context:
OK
Or
ERROR
300 ms
The command takes effect immediately.
The configurations will not be saved.
LPWA Module Series
30 / 56