102-500 · Question #32
What is the purpose of the dig command?
The correct answer is A. It can be used as a tool for querying DNS servers. dig (Domain Information Groper) is a command-line tool for querying DNS servers, making A correct - you use it to look up DNS records such as A, MX, NS, CNAME, and TXT records for a domain. Option B describes tools like grep or locate, which search file content, not DNS. Option…
Question
Options
- AIt can be used as a tool for querying DNS servers.
- BIt can be used for searching through indexed file content.
- CIt can be used to look for open ports on a system.
- DIt can be used to ping all known hosts on the current subnet
How the community answered
(66 responses)- A74% (49)
- B17% (11)
- C3% (2)
- D6% (4)
Explanation
dig (Domain Information Groper) is a command-line tool for querying DNS servers, making A correct - you use it to look up DNS records such as A, MX, NS, CNAME, and TXT records for a domain. Option B describes tools like grep or locate, which search file content, not DNS. Option C describes port-scanning tools like nmap or netstat. Option D describes the behavior of ping with broadcast or tools like fping, not dig.
Memory tip: Think of dig as "digging up DNS dirt" - whenever you need to investigate what a domain resolves to or which nameservers handle it, dig is your shovel.
Topics
Community Discussion
No community discussion yet for this question.