nerdexam
Broadcom-VMware

2V0-621 · Question #146

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

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 host can be viewed via the vicfg-dns vCLI command run from the vSphere Management Appliance, or by reading the /etc/resolv.conf file directly on the host.

Section 2 – Configure and Administer vSphere 6.x 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.

How the community answered

(24 responses)
  • A
    92% (22)
  • C
    4% (1)
  • D
    4% (1)

Why each option

DNS settings on an ESXi host can be viewed via the vicfg-dns vCLI command run from the vSphere Management Appliance, or by reading the /etc/resolv.conf file directly on the host.

AUse the vicfg-dns command from the vSphere Management Appliance.Correct

vicfg-dns is a vSphere CLI command intended to run on a remote management station such as the vSphere Management Appliance, and it queries and displays the DNS configuration of a target ESXi host.

BView the /etc/resolv.conf file on the ESXi host.Correct

ESXi uses the standard Linux /etc/resolv.conf file to store DNS nameserver and search domain entries, which can be read directly from the host's shell.

CUse vicfg-dns command on the ESXi host.

vicfg-dns is a vCLI tool designed to run on a remote management workstation or appliance, not natively on the ESXi host shell itself.

DView the /etc/dns.conf file on the ESXi host.

There is no /etc/dns.conf file on ESXi; the correct file containing DNS resolver configuration is /etc/resolv.conf.

Concept tested: ESXi host DNS configuration inspection methods

Source: https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vcli.doc/GUID-vicfg-dns.html

Topics

#DNS settings#vicfg-dns#resolv.conf#ESXi host configuration

Community Discussion

No community discussion yet for this question.

Full 2V0-621 Practice