Ask HN: Why does news.Y Combinator.com use a DNS TTL of 1s?
4 comments
For fast failover to the backup server. The lack of DNS caching is immaterial, lookups are cheap, network and CPU is cheap (wrt serving DNS).
It’s not a questionable technical choice (imho) based on the use case. Simplicity is the ultimate sophistication.
It’s not a questionable technical choice (imho) based on the use case. Simplicity is the ultimate sophistication.
NextDNS has a "Cache Boost" option that, when enabled, clamps answers to a minimum TTL to mitigate things like this. I've noticed that some Samsung IoT domains also have aggressively low TTL.
I'm legitimately curious what environment you're in where you notice/care about the extra DNS lookup?
[deleted]
This is a questionable technical choice, especially considering HN's status as the SaaS mecca. So it begs the question: Why?
If the goal is to be able to rapidly switch to cloudflare when under attack then surely a TTL of 600 or 60 would be sufficient whilst being more respectful of your visitors?