What are the Route 53 record types and why use Alias instead of CNAME?
BeginnerConceptDNS, CDN and Messaging
Answer
Standard types: A, AAAA, CNAME, MX, TXT, NS, SOA, SRV, CAA, plus Route 53 Alias. A CNAME cannot exist at the zone apex (example.com), but an Alias A record can, and it points to AWS resources (CloudFront, ALB, API Gateway, S3 website, another record) with no query charge and automatic tracking of IP changes.
Alias targets can also evaluate target health for failover routing.
More on DNS, CDN and Messaging
Describe Route 53 routing policies.IntermediateHow do Route 53 health checks and DNS failover work?AdvancedWhat is a Route 53 private hosted zone?IntermediateHow does DNS TTL relate to failover and migrations?BeginnerWhat are Route 53 Resolver endpoints and rules?AdvancedHow does CloudFront work: distributions, origins and behaviors?Intermediate