fix: cached DNS entries respect TTL

This commit is contained in:
Daniel Langbein 2024-12-15 15:19:05 +01:00
parent 4fe3a9fdfe
commit 4924006f2a
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -72,6 +72,9 @@
#listen_addresses = ['127.0.0.1:53'];
# Enable a DNS cache to reduce latency and outgoing traffic
cache = true;
# Dont alter the TTL of cached entries
# https://github.com/DNSCrypt/dnscrypt-proxy/issues/1552#issuecomment-750021306
cache_min_ttl = 0;
# DNSCrypt: Create a new, unique key for every single DNS query.
# This may improve privacy but can also have a significant impact on CPU usage.
# Only enable if you don't have a lot of network load.