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

[Feature request] ability to set Max/Min TTL for cached queries and also for negative ones #2

Open
alpominth opened this issue Jan 20, 2023 · 0 comments

Comments

@alpominth
Copy link

alpominth commented Jan 20, 2023

A common feature in DNS forwarders is the ability to set a maximum and a minimum time for queries to stay in the cache.

Also, an option for set a TTL for negative answers would be very useful: let's suppose I configured zdns to do a persistent caching for 1 month. A negative response (NXDOMAIN) could be cached for 1 month if there is no option for setting a TTL for negative answers; if the site returns in some days, I will notice that the site is back only after 30 days as the cached negative answer would tell that.

@mpolden

I hope you consider my suggestion and implement it if possible.

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

No branches or pull requests

1 participant