N10-005 · Question #767
A technician is having trouble identifying a computer on a network. The technician has the IP address of the computer, but needs to find the hostname of the computer. Which of the following commands…
The correct answer is C. ping -a. The ping -a command resolves an IP address to its hostname using reverse DNS lookup, which is exactly what the technician needs.
Question
A technician is having trouble identifying a computer on a network. The technician has the IP address of the computer, but needs to find the hostname of the computer. Which of the following commands should the technician use?
Options
- Aipconfig /a
- Bping -t
- Cping -a
- Dnetstat
How the community answered
(52 responses)- A4% (2)
- B2% (1)
- C87% (45)
- D8% (4)
Why each option
The ping -a command resolves an IP address to its hostname using reverse DNS lookup, which is exactly what the technician needs.
ipconfig /a is not a valid ipconfig switch; even valid ipconfig flags like /all only display the local machine's own network configuration, not remote hostnames.
ping -t sends continuous ping packets to a host but does not perform hostname resolution or display any DNS name for the target.
The ping -a flag performs a reverse DNS lookup, resolving the target IP address to its associated hostname before sending ICMP echo requests. This allows a technician to discover the hostname of a machine when only the IP address is known. No additional tools are required for this basic name resolution task.
netstat displays active network connections and listening ports on the local machine, not hostname resolution for a remote IP address.
Concept tested: ping -a reverse DNS hostname lookup
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ping
Topics
Community Discussion
No community discussion yet for this question.