Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the default TTL for a Route53 Alias record pointing to a Cloudfront resource?

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?

like image 731
ThatChrisGuy Avatar asked Sep 24 '18 19:09

ThatChrisGuy


People also ask

What is default TTL in Route 53?

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.

What is alias record in Route 53?

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.

Can Route 53 point to CloudFront?

If you want to use your own domain name, use Amazon Route 53 to create an alias record that points to your CloudFront distribution.

What are the popular record sets in AWS Route 53?

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.


Video Answer


1 Answers

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.

like image 77
Michael - sqlbot Avatar answered Oct 14 '22 10:10

Michael - sqlbot