nerdexam
Exams2V0-622Questions#146
Broadcom-VMware

2V0-622 · Question #146

2V0-622 Question #146: Real Exam Question with Answer & Explanation

The correct answer is A. Use the vicfg-dns command from the vSphere Management Appliance. B. View the /etc/resolv.conf file on the ESXi host.. DNS settings on an ESXi 6.x host can be viewed remotely via the vicfg-dns vCLI command or directly on the host by reading /etc/resolv.conf.

Section 2 – Configure and Administer vSphere 6.5 Networking

Question

What are two ways to view the DNS settings for an ESXi 6.x host? (Choose two.)

Options

  • AUse the vicfg-dns command from the vSphere Management Appliance.
  • BView the /etc/resolv.conf file on the ESXi host.
  • CUse vicfg-dns command on the ESXi host.
  • DView the /etc/dns.conf file on the ESXi host.

Explanation

DNS settings on an ESXi 6.x host can be viewed remotely via the vicfg-dns vCLI command or directly on the host by reading /etc/resolv.conf.

Common mistakes.

  • C. vicfg-dns is a vCLI command designed for remote management and is not available as a native command within the ESXi host's own shell; esxcli is the appropriate local CLI toolset on ESXi.
  • D. There is no /etc/dns.conf file on ESXi hosts; the correct file for DNS resolver configuration is /etc/resolv.conf.

Concept tested. ESXi host DNS configuration viewing methods

Reference. https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vcenterhost.doc/GUID-DC4E3E6E-B9A2-4F46-9F7F-F1C58E32EC49.html

Topics

#DNS settings#vicfg-dns#resolv.conf#ESXi host network config

Community Discussion

No community discussion yet for this question.

Full 2V0-622 Practice