AT Commands Reference Guide
80529ST10815A Rev.2– 2017-09-14
ReproductionforbiddenwithoutTelitCommunicationsS.p.A.writtenauthorization‐AllRightsReserved page194of233
#DNS – Manual DNS Selection
Ipv4- manual primary DNS server, string type, in the format “xxx.xxx.xxx.xxx”
used for the specified cid; we’re using this value instead of the primary DNS
server come from the network (default is “0.0.0.0”)
Ipv6- manual primary DNS server, string type, in the
format “xxx.xxx.xxx.xxx.xxx.xxx.xxx.xxx.xxx.xxx.xxx.xxx.xxx.xxx.xxx.xxx”
used for the specified cid; we’re using this value instead of the primary DNS
server come from the network (default is “0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”).
Ipv6 can also be in HEX format:
“xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx”
Note: if <primary> is ”0.0.0.0” and <secondary> is not “0.0.0.0”, then issuing
AT#DNS=… raises an error.
Note: if <primary> is ”0.0.0.0” were using the primary DNS server come from
the network as consequence of a context activation.
Note: if <primary> is not ”0.0.0.0” and <secondary> is “0.0.0.0”, then were
using only the manual primary DNS server.
Note: the context identified by <cid> has to be previously defined, elsewhere
issuing AT#DNS=… raises an error.
Note: the context identified by <cid> has to be not activated yet, elsewhere issuing
AT#DNS=… raises an error.
AT#DNS?
Read command returns the manual DNS servers set either for every defined PDP
context and for the single GSM context (only if defined), in the format:
[#DNS: <cid>,<primary>,<secondary>[<CR><LF>
#DNS: <cid>,<primary>,<secondary>]]
In case +cgdcont
determined as ipv4v6 the format is
[#DNS: <cid>,<primary ip4>,<primary ip6>,<secondary ip4>,<secondary
ip6>[<CR><LF>
#DNS: <cid>,<primary ip4>,<primary ip6>,<secondary ip4>,<secondary
ip6>]]
AT#DNS=?
Test command reports the supported range of values for the <cid> parameter only,
in the format:
#DNS: (1-5),,
Socket Listen Ring - #E2SLRI