1. Types
2. appliance
3. networking
4. dns
5. servers

## appliance networking dns servers: DNS server config

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

### Representations:

- JSON
- XML

{
"mode": "dhcp",
"servers": [
"string",
"string"
]
}
<?xml version="1.0" ?>
<ns0:DNSServerConfig xmlns:ns0="http://vmware.com/appliance/networking/dns/servers" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<servers-array>
<array-item>string</array-item>
<array-item>string</array-item>
</servers-array>
<mode>dhcp</mode>
</ns0:DNSServerConfig>

#### 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.