Re:What happens when you update your DNS
by chrisweekly on Monday June 22, 2020 @08:03PM
(#23608442)
Am I the only one who finds it strange that Amazon uses Akamai instead of Cloudfront?
Re:What happens when you update your DNS
by forbiddenlake on Monday June 22, 2020 @10:22PM
(#23609325)
It varies. For example, for www.amazon.com, I get www.amazon.com -> tp.47cf2c8c9-frontier.amazon.com. -> d3ag4hukkh62yn.cloudfront.net.
Why is that?
(My first thought was, wow, surprised they outsource that.)
I'd wager at least part of it is the same reason many companies use CloudFront: Separate point of failure in case of downtime at the AWS side, some one else shouldering DDoS.
Pure speculation, but probably the same reason they ran Oracle for so long -- not many cdn providers when amazon.com launched. Afaik akamai still has one of the biggest edge networks of all the providers.
Re:What happens when you update your DNS
by MaxBarraclough on Tuesday June 23, 2020 @05:58AM
(#23611844)
I asked the same question 7 days ago: https://news.ycombinator.com/item?id=23537135
So when you ask for www.amazon.com it ends up making multiple DNS lookups, as www.amazon.com is a CNAME record.
Nothing about this CNAME lookup gets passed back up the stack to your application; you just get that end-result: the IP address.
host www.amazon.com www.amazon.com is an alias for tp.47cf2c8c9-frontier.amazon.com. tp.47cf2c8c9-frontier.amazon.com is an alias for www.amazon.com.edgekey.net. www.amazon.com.edgekey.net is an alias for e15316.e22.akamaiedge.net. e15316.e22.akamaiedge.net has address 23.204.68.114