Telit LE910 V2 Series AT Commands
80446ST10707A Rev. 0– 2015-11-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 393 of 509
Mod. 0808 2011-07 Rev.2
Manual DNS Selection - #DNS
#DNS – Manual DNS Selection
<primary>,
<secondary>
Set command allows to manually set primary and secondary DNS servers either for
a PDP context defined by +CGDCONT or for a GSM context defined by
#GSMCONT
Parameters:
<cid> - context identifier
0 - specifies the GSM context
1..5 - numeric parameter which specifies a particular PDP context definition
<primary> - 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”)
<secondary> - manual secondary DNS server, string type, in the format
“xxx.xxx.xxx.xxx” used for the specified cid; we’re using this
value instead of the secondary DNS server come from the
network (default is “0.0.0.0”).
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” we’re 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 we’re
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.
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>]]
Test command reports the supported range of values for the <cid> parameter.only,
in the format:
#DNS: (0-5),,