XK0-005 · Question #312
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…
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.
Question
Options
- Bhost in-add.arpa
- Cdig -x 192.168.1.100
- Etracepath -n 192.168.1.100
How the community answered
(54 responses)- B13% (7)
- C81% (44)
- E6% (3)
Why each option
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.
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.
The `dig -x 192.168.1.100` command performs a reverse DNS lookup, querying for the PTR (pointer) record associated with the IP address 192.168.1.100. This is precisely how you verify that the `in-addr.arpa` zone files, which manage reverse DNS, are correctly configured and resolving IP addresses to hostnames.
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
Source: https://man7.org/linux/man-pages/man1/dig.1.html
Topics
Community Discussion
No community discussion yet for this question.