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

Allow rewriting min TTL for any type of request #864

Open
k03mad opened this issue Dec 2, 2024 · 1 comment
Open

Allow rewriting min TTL for any type of request #864

k03mad opened this issue Dec 2, 2024 · 1 comment

Comments

@k03mad
Copy link

k03mad commented Dec 2, 2024

Issue Details

In the server settings tab, there is an option to rewrite the TTL only for blocked requests

Proposed solution

Add an option to rewrite the minimum answer TTL for any type of response

Similar to AdGuard Home:
https://github.com/AdguardTeam/AdGuardHome/blob/a8431297f7dc12332088d7045224e31fd327e909/client/src/components/Settings/Dns/Cache/Form.tsx#L22

Alternative solution

No response

@k03mad
Copy link
Author

k03mad commented Dec 3, 2024

I just want to add why this is a useful feature:

I've used another DNS service that has the option to rewrite the minimum TTL.
On a not very stable mobile network, it feels subjectively more stable and faster when using the Android private DNS feature with a server that returns, for example, a 1-hour minimum TTL for all domains (due to the longer cache duration and, consequently, a lower number of DNS requests).

And I don't have any problems with such long TTL hardcode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant