nerdexam
CompTIA

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.

Networking

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)
  • A
    7% (3)
  • B
    2% (1)
  • C
    88% (37)
  • D
    2% (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.

ANET USE

NET USE maps or disconnects network drives and shared resources; it does not perform DNS resolution or name lookups.

BTRACERT

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.

CNSLOOKUPCorrect

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.

DCMD

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

#NSLOOKUP#DNS reverse lookup#IP to hostname#network commands

Community Discussion

No community discussion yet for this question.

Full 220-802 Practice