Name Resolution Tools for Testing Internet Site Accessibility | Exam SK0-004

Test Name Resolution with the Right Tools | CompTIA Server+ Exam SK0-004

Prev Question Next Question

Question

Users have reported that they cannot access certain Internet sites.

An administrator wants to test that the sites are properly resolving to an IP address.

Which of the following tools would allow the administrator to test name resolution?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

C.

The correct tool to test name resolution is "dig" (option C). Here's why:

When users browse the Internet, they generally type in a URL (Uniform Resource Locator), such as "www.example.com". However, computers on the Internet communicate with each other using IP addresses, such as "192.0.2.1". In order to translate the URL into an IP address, the computer needs to perform a process called name resolution.

Name resolution typically involves a few steps. First, the computer checks its own local cache to see if it has recently resolved the name. If not, it contacts a DNS (Domain Name System) server to request the IP address associated with the name. The DNS server may in turn contact other DNS servers in a hierarchical fashion until it finds the IP address.

If users are reporting that they cannot access certain Internet sites, it could be due to a name resolution problem. For example, the DNS server may not be able to find the IP address associated with the name, or there may be a problem with the local cache on the user's computer.

To test name resolution, an administrator can use the "dig" command. "dig" stands for "domain information groper" and is a popular tool used for DNS troubleshooting. The administrator can enter the name of the site they are having trouble with (e.g. "www.example.com") and "dig" will show the IP address associated with that name, as well as other DNS information such as the authoritative DNS server for that name.

Option A, "net view", is a command used in Windows to display a list of computers on a network. It is not related to name resolution.

Option B, "ipconfig", is a command used in Windows to display the IP configuration information for a computer, such as the IP address, subnet mask, and default gateway. It does not test name resolution.

Option D, "ifconfig", is a similar command used in Unix/Linux to display IP configuration information. It also does not test name resolution.