Home » VMware » 2V0-621 v.2 » What are two ways to view the DNS settings for an ESXi 6.x host?
What are two ways to view the DNS settings for an ESXi 6.x host? (Choose two.)
A. Use the vicfg-dns command from the vSphere Management Appliance.
B. View the /etc/resolv.conf file on the ESXi host.
C. Use vicfg-dns command on the ESXi host.
D. View the /etc/dns.conf file on the ESXi host.
Correct Answer: AB
Explanation/Reference:
Explanation: To verify that the DNS information in /etc/resolv.conf is correct for your environment, run the command:
[root@server root]# cat /etc/resolv.conf
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.
Reference: https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vcli.examples.doc%2Fcli_manage_networks.11.8.html https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003796