Hostsvc/net/dns set

From VI-Toolkit
Jump to: navigation, search

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.