appliance networking: DNS info
The
DNS_info
structure contains information about the DNS configuration of a virtual appliance. This structure was added in vSphere API 6.7Representation:
{
"hostname": "string",
"mode": "DHCP",
"servers": [
"string",
"string"
]
}
"hostname": "string",
"mode": "DHCP",
"servers": [
"string",
"string"
]
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
mode | string | DNS mode. This attribute was added in vSphere API 6.7 Describes the source of DNS servers. This enumeration was added in vSphere API 6.7 Value is one of: DHCP: The DNS servers addresses are obtained from a DHCP server. This constant was added in vSphere API 6.7 STATIC: The DNS servers addresses are specified explicitly. This constant was added in vSphere API 6.7 |
hostname | string | Hostname. This attribute was added in vSphere API 6.7 |
servers | string[] | Servers. This attribute was added in vSphere API 6.7 |