nerdexam
CompTIACompTIA

XK0-005 · Question #312

XK0-005 Question #312: 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, which are used for reverse DNS lookups, the dig -x command followed by an IP address is the correct tool to perform a reverse lookup and confirm PTR records.

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, which are used for reverse DNS lookups, the dig -x command followed by an IP address is the correct tool to perform a reverse lookup and confirm PTR records.

Common mistakes.

  • A. The ping -n 192.168.1.100 command tests network connectivity to an IP address but does not perform a reverse DNS lookup or verify in-addr.arpa zone file configurations.
  • B. The host in-add.arpa command attempts to resolve the hostname "in-add.arpa" (which is incorrect, it should be in-addr.arpa) and would not perform a reverse DNS lookup for a specific IP address.
  • E. The tracepath -n 192.168.1.100 command traces the network path to an IP address and determines the MTU, but it does not perform a reverse DNS lookup or verify in-addr.arpa zone configurations.

Concept tested. Verifying reverse DNS with dig

Reference. https://man7.org/linux/man-pages/man1/dig.1.html

Topics

#DNS#Reverse DNS#dig command#Network Configuration Verification

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions