CompTIACompTIA
XK0-005 · Question #1307
XK0-005 Question #1307: Real Exam Question with Answer & Explanation
The correct answer is C: dig -x 192.168.1.100. To verify the configuration of in-addr.arpa zone files, an administrator should perform a reverse DNS lookup for an IP address.
Troubleshooting
Question
An administrator completed the configuration of the in-addr.arpa zone files for an organization. Which of the following commands should the administrator use to verify the configuration is working as expected? ping -n 192.168.1.100 A.
Options
- Bhost in-add.arpa
- Cdig -x 192.168.1.100
- Etracepath -n 192.168.1.100
Explanation
To verify the configuration of in-addr.arpa zone files, an administrator should perform a reverse DNS lookup for an IP address.
Common mistakes.
- A.
ping -n 192.168.1.100tests network connectivity to the IP address and explicitly avoids performing a DNS lookup (-n), so it does not verify reverse DNS functionality. - B.
host in-add.arpaattempts to resolve the domain name 'in-add.arpa', which is not how you test reverse DNS resolution for a specific IP address. - E.
tracepath -n 192.168.1.100traces the network path to an IP address and optionally avoids DNS lookups (-n), but it does not verify reverse DNS resolution.
Concept tested. Verifying reverse DNS (PTR records)
Reference. https://linux.die.net/man/1/dig
Topics
#DNS#Reverse DNS#dig command#Network Troubleshooting
Community Discussion
No community discussion yet for this question.