Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS TTLs are too low #1023

Open
Muirrum opened this issue Nov 28, 2023 · 4 comments · May be fixed by #1158
Open

DNS TTLs are too low #1023

Muirrum opened this issue Nov 28, 2023 · 4 comments · May be fixed by #1158

Comments

@Muirrum
Copy link
Member

Muirrum commented Nov 28, 2023

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.

@grymmy
Copy link
Contributor

grymmy commented Nov 28, 2023

Agreed.

@reesericci
Copy link
Contributor

What actions are to be taken to implement this? Are there any existing entries that have low TTLs?

@Muirrum
Copy link
Member Author

Muirrum commented Feb 8, 2024

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

@jaspermayone
Copy link
Contributor

#1149 retroactively updates TLS for all to 600, will make a PR to add default dns in octodns config, then close here!

@jaspermayone jaspermayone linked a pull request May 2, 2024 that will close this issue
@jaspermayone jaspermayone self-assigned this May 2, 2024
@jaspermayone jaspermayone removed their assignment Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants