Network TroubleshootingQuestion 87 of 100

Which utility resolves a hostname to its IP address and can query specific DNS record types?

a.ping
b.nslookup
c.ipconfig
d.netstat

Explanation

The nslookup utility queries DNS servers to resolve hostnames and can request specific record types such as MX or CNAME. It is invaluable for diagnosing name-resolution issues. The dig command offers similar functionality on Unix-like systems.

Practice all 100 questions free — no signup required.

Related questions on this topic

Last reviewed: · editorial process

PrepPass Editorial Team · Verified against CompTIA Network+ (N10-009) · How we review
Report