Network Operations
A web server has only an IPv4 address. Users report that www.example.com does not resolve, and the zone holds a CNAME for www pointing to a hostname that no longer exists. Which change restores resolution directly to the server?
Show the answer
Correct answerB. Replace the CNAME with an A record for www
AWhy not this: A PTR record maps an IP address back to a name in a reverse zone, so it cannot resolve www.
BWhy this is right: An A record maps the hostname straight to the server's IPv4 address, so no alias target is needed.
CWhy not this: An NS record delegates a zone to a nameserver and gives no address for the web server.
DWhy not this: A TXT record holds free-form text such as SPF data and returns no IP address for www.
An A record maps a hostname directly to an IPv4 address, so it removes the dependency on the dead alias target. A PTR record maps in the opposite direction, from address to name, and lives in a reverse zone.