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.