CompTIA Linux+ Powered by LPI (LX0-104) — Question 41

What is the purpose of the dig command?

Answer options

Correct answer: A

Explanation

The dig command is specifically designed for querying DNS servers to retrieve information about domain names and their corresponding IP addresses. Options B, C, and D describe functions related to file searching, port scanning, and pinging hosts, which are not applicable to the dig command.