vcenter guest: global DNS settings
The
global_DNS_settings
structure specifies a collection of global IP settings in the guest operating system. In Linux, DNS server settings are global. The settings can either be statically set or supplied by a DHCP server. This structure was added in vSphere API 7.0.0.0.Representation:
{
"dns_suffix_list" : [
"string",
"string"
],
"dns_servers" : [
"string",
"string"
]
}
"dns_suffix_list" : [
"string",
"string"
],
"dns_servers" : [
"string",
"string"
]
}
Attributes:
Name | Type | Description |
---|---|---|
Optional | ||
dns_suffix_list | string[] | List of name resolution suffixes for the virtual network adapter. This list applies to both Windows and Linux guest customization. For Linux, this setting is global, whereas in Windows, this setting is listed on a per-adapter basis. This attribute was added in vSphere API 7.0.0.0. Optional. If unset, no DNS suffixes are set. |
dns_servers | string[] | List of DNS servers, for a virtual network adapter with a static IP address. If this list is empty, then the guest operating system is expected to use a DHCP server to get its DNS server settings. These settings configure the virtual machine to use the specified DNS servers. These DNS server settings are listed in the order of preference. This attribute was added in vSphere API 7.0.0.0. Optional. If unset, no DNS servers are set. |