9.8.1.1 +DNSC

This command is used to read or set the DNS configuration. This command is a configuration command which supports setting and getting parameter values. The behaviour of configuration commands is described in general in the 9.2.3 Configuration Commands section.

Security – Default Security for the command is: GGGG

Table 9-43. Command Syntax
Command Description Security

AT+DNSC

Query all configuration elements

GGGG

AT+DNSC=<ID>

Query a single element

GGGG

AT+DNSC=<ID>,<VAL>

Set a single element

GGGG

Table 9-44. Command Parameter Syntax
Parameter Name Type Description

<ID>

Integer

Parameter ID number

<VAL>

Integer String Byte Array

Parameter value

Table 9-45. Response Syntax
Response Description

+DNSC:<ID>,<VAL>

Read response

Table 9-46. Response Element Syntax
Element Name Type Description

<ID>

Integer

Parameter ID number

<VAL>

Any

Parameter value

Table 9-47. Configuration Parameters
ID Name Type Description Security

1

<DNS_SVR>

IPv4 Address

DNS server IP address Format is ‘a.b.c.d’ This is a multiple value parameter with the range 1.0-1.1

GGGG