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.
Question
Options
- Bhost in-add.arpa
- Cdig -x 192.168.1.100
- Etracepath -n 192.168.1.100
How the community answered
(30 responses)- B3% (1)
- C90% (27)
- E7% (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.
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.
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.
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
Community Discussion
No community discussion yet for this question.