diff --git a/modules/dns.nix b/modules/dns.nix index bf9fec7..83fe2a3 100644 --- a/modules/dns.nix +++ b/modules/dns.nix @@ -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.