appliance networking dns servers: DNS server config

DNS_server_config structure This structure represents the configuration state used to determine DNS servers.

Representation:

{
    "mode""dhcp",
    "servers"[
        "string",
        "string"
    ]
}

Attributes:

Name Type Description
Required
mode string Define how to determine the DNS servers. Leave the servers argument empty if the mode argument is "DHCP". Set the servers argument to a comma-separated list of DNS servers if the mode argument is "static". The DNS server are assigned from the specified list.

Describes DNS Server source (DHCP,static) Value is one of:
dhcp: DNS address is automatically assigned by a DHCP server.
is_static: DNS address is static.

servers string[] List of the currently used DNS servers.