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
Topics
#DNS settings#vicfg-dns#resolv.conf#ESXi host network config
Community Discussion
No community discussion yet for this question.