From 027b1b849739242b8dc55e4df6e245215069b01a Mon Sep 17 00:00:00 2001 From: Austin Dworaczyk Wiltshire Date: Mon, 3 Feb 2020 22:08:11 -0800 Subject: [PATCH] Update dnscrypt-proxy cache settings for improved performance and privacy. (#1714) 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