LX0-104 · Question #63
Which of the following tools used for DNS debugging, reports not only the response from the name server but also details about the query?
The correct answer is B. dig. The dig (Domain Information Groper) utility is a powerful command-line tool for querying DNS name servers and provides detailed information about the DNS query and its response. It is widely used by administrators for troubleshooting DNS issues due to its comprehensive output.
Question
Options
- Adnsq
- Bdig
- Chostname
- Ddnslookup
- Ezoneinfo
How the community answered
(34 responses)- B88% (30)
- C6% (2)
- D3% (1)
- E3% (1)
Why each option
The dig (Domain Information Groper) utility is a powerful command-line tool for querying DNS name servers and provides detailed information about the DNS query and its response. It is widely used by administrators for troubleshooting DNS issues due to its comprehensive output.
dnsq is not a standard or widely recognized DNS debugging tool that provides comprehensive query details.
The dig command is specifically designed for querying DNS name servers and provides extensive output, including the question section, answer section, authority section, and additional section, along with various flags and timing statistics, making it ideal for debugging.
hostname is used to display or set the system's hostname, not for querying DNS or debugging.
dnslookup is not a standard Linux command; nslookup exists but is generally considered deprecated for scripting compared to dig and provides less detailed output.
zoneinfo is typically related to timezone data files, not DNS debugging.
Concept tested: DNS query and debugging tools
Source: https://linux.die.net/man/1/dig
Topics
Community Discussion
No community discussion yet for this question.