mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-23 02:36:05 +01:00
fix: cached DNS entries respect TTL
This commit is contained in:
parent
4fe3a9fdfe
commit
4924006f2a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user