220-802 · Question #14
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?
The correct answer is D. nslookup. nslookup is the command-line tool specifically designed to query DNS servers and resolve a hostname to its IP address.
Question
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?
Options
- Averify
- Btracert
- Cipconfig
- Dnslookup
How the community answered
(55 responses)- A2% (1)
- B5% (3)
- C2% (1)
- D91% (50)
Why each option
nslookup is the command-line tool specifically designed to query DNS servers and resolve a hostname to its IP address.
verify is a legacy DOS command that confirms whether data is written correctly to disk and has no DNS or network name resolution capability.
tracert traces the network path (hop-by-hop) to a destination and can display IP addresses, but its purpose is path analysis, not name-to-IP resolution.
ipconfig displays the local machine's network configuration (IP, subnet, gateway) and does not resolve remote hostnames to IP addresses.
nslookup (name server lookup) sends queries directly to a DNS server and returns the resolved IP address for a given hostname. It is the standard cross-platform tool for DNS name-to-address resolution and can also perform reverse lookups.
Concept tested: DNS name resolution using nslookup
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/nslookup
Topics
Community Discussion
No community discussion yet for this question.