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 Configuration Commands section.

Security – Default Security for the command is: GGGG

Table 9-48. Command Syntax
CommandDescriptionSecurity

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-49. Command Parameter Syntax
Parameter NameTypeDescription

<ID>

Integer

Parameter ID number

<VAL>

Integer String Byte Array

Parameter value

Table 9-50. Response Syntax
ResponseDescription

+DNSC:<ID>,<VAL>

Read response

Table 9-51. Response Element Syntax
Element NameTypeDescription

<ID>

Integer

Parameter ID number

<VAL>

Any

Parameter value

Table 9-52. Configuration Parameters
IDNameTypeDescriptionSecurity

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