nerdexam
CompTIA

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.

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

How the community answered

(54 responses)
  • B
    13% (7)
  • C
    81% (44)
  • E
    6% (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.

Bhost in-add.arpa

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.

Cdig -x 192.168.1.100Correct

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.

Etracepath -n 192.168.1.100

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

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

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice