ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev. 11 Page 716 of 1039 2021-09-23
3.15.32. AT#NWDNS - DNS from Network
The command allows to get the primary and secondary DNS addresses for selected GSM
or PDP context identifiers
AT#NWDNS=[<cid>[,...]]
Execution command returns either the primary and secondary DNS
addresses for the GSM context (if specified) and/or a list of primary and
secondary DNS addresses for the specified PDP context identifiers. The
command returns a row of information for every specified <cid> whose
context has been already defined. No row is returned for a <cid> whose
context has not been defined yet. The response is in the form:
#NWDNS: <cid
n
>,<PDNSaddress
n
>,<SDNSaddress
n
><CR><LF>
#NWDNS: <cid
p
>,<PDNSaddress
p
>,<SDNSaddress
p
><CR><LF>
...
#NWDNS: <cid
q
>,<PDNSaddress
q
>,<SDNSaddress
q
><CR><LF>
Parameter:
Generic context identifier. The value of max is
returned by the test command
specifies a particular PDP context definition (see
+CGDCONT command)
Parameters response description: