A VM's FQDN does not resolve while its IP does; which DNS tool would you use to verify name resolution?

Study for the CompTIA Cloud+ exam. Enhance your skills with flashcards and multiple choice questions, each supported by hints and explanations. Prepare effectively for your certification!

Multiple Choice

A VM's FQDN does not resolve while its IP does; which DNS tool would you use to verify name resolution?

Explanation:
When troubleshooting DNS, you want to verify what the DNS system actually returns for a given hostname. nslookup directly queries DNS servers and shows the exact mapping from the FQDN to its IP address, including which DNS server answered and the type of record returned. In this case, where the VM’s FQDN doesn’t resolve but its IP works, nslookup helps confirm whether DNS can translate the name and reveals the exact result (an A record, a CNAME, or a not-found). It’s a straightforward, widely available tool for diagnosing name-resolution issues. While dig can do the same, nslookup is typically simpler and commonly used in many environments. The other options serve different purposes: traceroute reveals the network path to a host, and ping tests reachability rather than DNS resolution details.

When troubleshooting DNS, you want to verify what the DNS system actually returns for a given hostname. nslookup directly queries DNS servers and shows the exact mapping from the FQDN to its IP address, including which DNS server answered and the type of record returned. In this case, where the VM’s FQDN doesn’t resolve but its IP works, nslookup helps confirm whether DNS can translate the name and reveals the exact result (an A record, a CNAME, or a not-found). It’s a straightforward, widely available tool for diagnosing name-resolution issues. While dig can do the same, nslookup is typically simpler and commonly used in many environments. The other options serve different purposes: traceroute reveals the network path to a host, and ping tests reachability rather than DNS resolution details.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy