Hostsvc/net/dns set

From VI-Toolkit
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

vimsh hostsvc/net/dns_set

Usage: dns_set [OPTIONS]

Sets the DNS configuration.

Options:

  --dns-dhcp=bool
      Enables or disables automatic discovery of DNS configuration.
  --dns-dhcp-virtualnic=console_virtual_nic
      Service console NIC that overrides the system DNS.
  --dns-hostname=string
      Host name of host.
  --dns-domainname=string
      Domain name of host.
  --dns-addresses=ip_address_list
      List of DNS addresses.
  --dns-searchdomain=string_list
      DNS search domains.