What are A, AAAA and CNAME records, and why does a CNAME matter for a CDN?
Sketch your own answer first, then compare it with the one below.
A strong answer
An A record maps a name to an IPv4 address. An AAAA record maps it to an IPv6 address. A CNAME says one name is an alias for another, and the resolver then looks up the target.
A CDN usually asks you to point your name at one of its names with a CNAME. The CDN can then change the addresses behind its name for steering and failover without you touching your zone. A CNAME cannot sit at the zone apex beside other records, so providers offer an alias feature for the apex.
Sources
- Paul Mockapetris (1987). RFC 1034: Domain Names, Concepts and Facilities.
- Paul Mockapetris (1987). RFC 1035: Domain Names, Implementation and Specification.