220-802 · Question #860
If a technician knows a client's IP address, which of the following command tools can be used to resolve this to the DNS name?
The correct answer is C. NSLOOKUP. NSLOOKUP is a command-line DNS utility that supports reverse lookups, allowing a technician to resolve a known IP address to its associated DNS hostname.
Question
If a technician knows a client's IP address, which of the following command tools can be used to resolve this to the DNS name?
Options
- ANET USE
- BTRACERT
- CNSLOOKUP
- DCMD
How the community answered
(42 responses)- A7% (3)
- B2% (1)
- C88% (37)
- D2% (1)
Why each option
NSLOOKUP is a command-line DNS utility that supports reverse lookups, allowing a technician to resolve a known IP address to its associated DNS hostname.
NET USE maps or disconnects network drives and shared resources; it does not perform DNS resolution or name lookups.
TRACERT traces the route packets take to a destination and displays hop-by-hop latency; while it shows hostnames, it is not a DNS resolution tool.
NSLOOKUP (Name Server Lookup) queries DNS servers and can perform both forward lookups (hostname to IP) and reverse lookups (IP to hostname) by entering an IP address as the query target. When given an IP address, it queries the PTR record in the reverse DNS zone to return the associated fully qualified domain name. This makes it the correct tool for resolving a client IP address to its DNS name.
CMD is the Windows command interpreter itself, not a network utility; it only provides the environment in which tools like NSLOOKUP are run.
Concept tested: Using NSLOOKUP for reverse DNS IP-to-hostname resolution
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/nslookup
Topics
Community Discussion
No community discussion yet for this question.