72.2k views
5 votes
A technician needs to use a command line tool to determine the network name and the IP address of a resource. Which of the following command line tools will provide an IP address when given a name?

A. verify
B. Tracert
C. Ipconfig
D. Nslookup

User Donturner
by
7.7k points

1 Answer

5 votes

Final answer:

The correct command line tool to use to get an IP address from a given name is nslookup. It queries DNS servers to map domain names to IP addresses.

Therefore, the correct answer is: option D). Nslookup

Step-by-step explanation:

Nslookup is a command-line tool to discover the IP address or DNS record of a specific domain name. It also allows for reverse DNS lookup, letting you find the domain attached to an IP address.

To use the tool, enter “nslookup” into the Command Prompt or Terminal. This utility allows you to query Domain Name System (DNS) servers to obtain domain name or IP address mapping. When you provide a hostname to nslookup, it will retrieve the corresponding IP address.

It is a built-in network command-line tool that debugs and finds information about your network, specifically your domain name servers (DNS). For example, entering nslookup example.com at the command prompt will show you the IP addresses associated with that domain.

User Aradhana
by
7.6k points