CompTIA CySA+ (CS0-001) — Question 57

Which of the following utilities could be used to resolve an IP address to a domain name, assuming the address has a PTR record?

Answer options

Correct answer: B

Explanation

The correct answer is B, because the ping command performs a reverse DNS lookup on the IP address if a PTR record exists, returning the associated domain name. The other options do not have the capability to resolve IP addresses to domain names: ifconfig is for network interface configuration, arp is for mapping IP addresses to MAC addresses, and nbtstat is used for NetBIOS over TCP/IP troubleshooting.