dns
dns copied to clipboard
DNS TTLs are too low
Setting a default TTL of 1 second does not allow for proper caching and can put strain on the DNS network. The "best practice" is between 12 and 24 hours, but if that's too long it might make sense to follow Cloudflare, which sets their "Auto" TTL to 300 seconds (or 5 minutes)1.
In general, it's good practice to have a slightly longer TTL to enable faster queries2 and better redundancy.
Agreed.
What actions are to be taken to implement this? Are there any existing entries that have low TTLs?
there's a whole bunch that have a ttl of 1 (the README encourages it, in fact). I'm still waiting on discussion of what out ttl should be though
#1149 retroactively updates TLS for all to 600
, will make a PR to add default dns in octodns config, then close here!