Networking

web.example.com has an A record whose IP address changes occasionally. The admin wants shop.example.com to follow it with no edits to shop's own records after a change. Which actions meet this requirement? (Choose two.)

Choose 2 answers

Show the answer

Correct answersA. Keep the web.example.com A record as the only record holding the IPE. Create a CNAME record for shop.example.com that targets web.example.com

AWhy this is right: Only the canonical name's A record holds the IP, so one edit updates both names.

BWhy not this: A CNAME target must be a hostname, never an IP address, so this record is invalid.

CWhy not this: A separate A record holds its own IP and would need editing after each change.

DWhy not this: MX records route email and do not make a name follow another name's address.

EWhy this is right: A CNAME aliases shop to the canonical name web.example.com, so it follows that name's address.

FWhy not this: A TXT record stores text and does not cause the name to resolve to the server.

A CNAME makes shop.example.com an alias of the canonical name web.example.com, whose A record is the single place holding the IP. A CNAME that targets an IP address is invalid, and a separate A record would need editing after every change.