Run
vicfg-dns without
command-specific options to display DNS properties for the specified server.
vicfg-dns <conn_options>
The information includes the host name, domain name, DHCP setting
(true or false), and DNS servers on the
ESXi host.
2
If the DNS properties
are set, and you want to change the DHCP settings, you must specify the virtual
network adapter to use when overriding the system DNS.
v_nic
must be one of the VMkernel network adapters.
You can override the
existing DHCP setting by using the following command.