Reconnaissance and Enumeration

A tester finds that dev.client.com no longer loads and suspects it points to a deprovisioned cloud service. Which DNS lookup shows where the name points?

Show the answer

Correct answerA. A CNAME query for the subdomain

AWhy this is right: A CNAME record shows the alias target, revealing a possibly abandoned cloud service.

BWhy not this: NS records identify authoritative name servers, not a subdomain's target.

CWhy not this: MX records identify mail servers, not where a web subdomain points.

DWhy not this: PTR records map addresses to names and do not show a subdomain's target.

A CNAME record maps a subdomain to another hostname, such as a cloud service endpoint, so querying it shows the target. A PTR query goes the other way, from an address to a name, and does not show where the subdomain points.