N10-005 · Question #337
An administrator is attempting to troubleshoot a program that is unable to resolve IP addresses from FQDNs. Which of the following commands is used to check reverse DNS settings?
The correct answer is A. dig. The dig command is a DNS lookup utility that supports reverse DNS queries using the -x flag to resolve an IP address back to a hostname.
Question
An administrator is attempting to troubleshoot a program that is unable to resolve IP addresses from FQDNs. Which of the following commands is used to check reverse DNS settings?
Options
- Adig
- Bifconfig
- Cnbtstat
- Droute
How the community answered
(46 responses)- A91% (42)
- B2% (1)
- C4% (2)
- D2% (1)
Why each option
The `dig` command is a DNS lookup utility that supports reverse DNS queries using the -x flag to resolve an IP address back to a hostname.
The `dig` command (Domain Information Groper) is a flexible DNS querying tool available on Linux/Unix systems that can perform both forward and reverse DNS lookups. Using `dig -x <IP address>` queries the PTR record for a given IP, which is essential for troubleshooting reverse DNS (FQDN-to-IP resolution failures).
ifconfig displays and configures network interface parameters such as IP address and MAC address but does not perform DNS queries.
nbtstat is a Windows command used to display NetBIOS over TCP/IP statistics and name tables, not DNS records.
The route command displays or modifies the IP routing table and has no capability to query DNS records.
Concept tested: Reverse DNS lookup using dig command
Source: https://linux.die.net/man/1/dig
Topics
Community Discussion
No community discussion yet for this question.