nerdexam
CompTIA

XK0-004 · 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. The in-addr.arpa zone is used for reverse DNS lookups, and dig -x is the correct tool to query PTR records and verify that reverse resolution is functioning for a specific IP address.

Server Side & Network Concepts

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

(30 responses)
  • B
    3% (1)
  • C
    90% (27)
  • E
    7% (2)

Why each option

The in-addr.arpa zone is used for reverse DNS lookups, and dig -x is the correct tool to query PTR records and verify that reverse resolution is functioning for a specific IP address.

Bhost in-add.arpa

This command contains a typo ('in-add.arpa' instead of 'in-addr.arpa') and even if corrected would query the zone apex rather than verifying reverse lookup for a specific IP address.

Cdig -x 192.168.1.100Correct

The dig -x option performs a reverse DNS lookup by automatically constructing the appropriate in-addr.arpa query for the given IP address, directly exercising the zone the administrator just configured. The output shows the PTR record response, confirming whether the zone files are correctly mapping IP addresses back to hostnames.

Etracepath -n 192.168.1.100

The tracepath -n flag disables reverse DNS resolution during path tracing - it traces routing hops and does not validate reverse DNS zone configuration.

Concept tested: Reverse DNS PTR record verification using dig -x

Source: https://linux.die.net/man/1/dig

Topics

#reverse DNS#dig command#in-addr.arpa#DNS verification

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice