NetworkingDnsServersDNSServerConfig

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


Properties

mode Required

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.

Possible values are: dhcpis_static


array of string
servers Required

List of the currently used DNS servers.

JSON Example

{
    "mode": "enum",
    "servers": [
        "string"
    ]
}
Property Of

NetworkingChangeSpec
Parameter To

Set DNS Servers
Returned By

Get DNS Servers
Feedback

Was this page helpful?