Reconnaissance and Enumeration
A tester wants to check whether a client's authoritative name server hands out every record in its zone to any requester. Which command tests this?
Show the answer
Correct answerD. dig axfr client.example @ns1.client.example
AWhy not this: ANY sent to a public resolver returns a limited set of cached records, not the full zone.
BWhy not this: A reverse lookup returns only the PTR name for one IP address.
CWhy not this: Returns only the mail exchanger records, not the whole zone.
DWhy this is right: AXFR sent to the authoritative server requests the complete zone and shows if transfers are allowed.
An AXFR request sent to the authoritative server asks for a full zone transfer, which succeeds only if the server is misconfigured to allow it. An ANY query to a public resolver is tempting but returns only some cached records, not the whole zone.