From 85c8b1d90211a83d53a211111c7671ac747565c6 Mon Sep 17 00:00:00 2001 From: quindecim Date: Sat, 2 Jan 2021 04:16:12 -0500 Subject: [PATCH] [UPSTREAM] - Run from in memory cache updates https://github.com/DNSCrypt/dnscrypt-proxy/commit/87fb44a588163eaddcbbed42ee721aa437b89518 --- config/dnscrypt-proxy.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/dnscrypt-proxy.toml b/config/dnscrypt-proxy.toml index fffd67d..ee3b4c6 100644 --- a/config/dnscrypt-proxy.toml +++ b/config/dnscrypt-proxy.toml @@ -629,6 +629,9 @@ cache_neg_max_ttl = 600 ## If the `urls` property is missing, cache files and valid signatures ## must already be present. This doesn't prevent these cache files from ## expiring after `refresh_delay` hours. +## Cache freshness is checked every 24 hours, so values for 'refresh_delay' +## of less than 24 hours will have no effect. +## A maximum delay of 168 hours (1 week) is imposed to ensure cache freshness. [sources] @@ -638,6 +641,7 @@ cache_neg_max_ttl = 600 urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/public-resolvers.md', 'https://download.dnscrypt.info/resolvers-list/v3/public-resolvers.md', 'https://ipv6.download.dnscrypt.info/resolvers-list/v3/public-resolvers.md', 'https://download.dnscrypt.net/resolvers-list/v3/public-resolvers.md'] cache_file = 'public-resolvers.md' minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3' + refresh_delay = 72 prefix = '' ## Anonymized DNS relays