What command resolves the IP address of srv.sophos.local and shows the DNS server providing the resolution?

Prepare for the Sophos Certified Technician Exam with study materials that include multiple-choice questions, hints, and detailed explanations. Boost your confidence and ace your certification!

The choice to use nslookup for resolving the IP address of srv.sophos.local is based on its specific functionality and capabilities in the context of DNS operations. The nslookup command is a widely used network utility that queries the Domain Name System (DNS) to retrieve, among other things, the IP address associated with a given hostname.

One key feature of nslookup is that it not only provides the resolved IP address but also displays information about the DNS server that performed the resolution. This is particularly helpful for troubleshooting or verifying DNS configurations, as you can see which DNS server is being queried and the response it provides.

In contrast, commands like dnslookup or resolve may not provide all the functionality required to identify the DNS server involved in the resolution process. getaddrinfo typically deals with network address resolution but does not provide detailed interactions with DNS servers like nslookup does. Therefore, nslookup stands out as the most suitable command for both resolving the IP address and indicating the DNS server used for that resolution.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy