I am converting a route53 CNAME recordset with 60 seconds ttl to an A recordset pointing to a cloudfront resource.
The AWS documentation states: "If an alias record points to an AWS resource, you can't set the time to live (TTL); Route 53 uses the default TTL for the resource."
What is the default TTL for a Route53 Alias record pointing to a Cloudfront resource?
Amazon Route 53 does not have a default TTL for any record type. You must always specify a TTL for each record so that caching DNS resolvers can cache your DNS records to the length of time specified through the TTL.
Amazon Route 53 alias records provide a Route 53–specific extension to DNS functionality. Alias records let you route traffic to selected AWS resources, such as CloudFront distributions and Amazon S3 buckets. They also let you route traffic from one record in a hosted zone to another record.
If you want to use your own domain name, use Amazon Route 53 to create an alias record that points to your CloudFront distribution.
Route 53 provides an extension to DNS functionality known as alias records. Similar to CNAME records, alias records let you route traffic to selected AWS resources, such as CloudFront distributions and Amazon S3 buckets.
The TTL on *.cloudfront.net
hostname A records (and, by extension, their aliases) is 60 seconds.
I don't recall this being documented, but it is consistently observable using dig
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With