From dbf1622f979dfd97199a699d461795bcaebc14e9 Mon Sep 17 00:00:00 2001 From: Austin Dworaczyk Wiltshire Date: Sat, 1 Feb 2020 09:47:05 -0800 Subject: [PATCH] Update dnscrypt-proxy cache settings for improved performance and privacy. These values match those recommended by the author of DNSCrypt-proxy See: https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Caching#dns-cache https://00f.net/2019/11/03/stop-using-low-dns-ttls/ --- roles/dns/templates/dnscrypt-proxy.toml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/dns/templates/dnscrypt-proxy.toml.j2 b/roles/dns/templates/dnscrypt-proxy.toml.j2 index 5fa8839..a51c7b7 100644 --- a/roles/dns/templates/dnscrypt-proxy.toml.j2 +++ b/roles/dns/templates/dnscrypt-proxy.toml.j2 @@ -302,12 +302,12 @@ cache = true ## Cache size -cache_size = 512 +cache_size = 4096 ## Minimum TTL for cached entries -cache_min_ttl = 600 +cache_min_ttl = 2400 ## Maximum TTL for cached entries