From b7017d7c505f19f8ef8b2ae44ec0ac820e4a3bec Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 29 Nov 2018 11:23:05 +0200 Subject: [PATCH] dnscrypt-proxy: update comments, lb_strategy = p2 Removed my weird comment and added refresh_delay to OpenNIC. I am using p2 instead of ph as per the wiki as apparently they don't consider balancing queries over multiple services as important as speed, so maybe I don't have to worry about that either. --- etc/dnscrypt-proxy/dnscrypt-proxy.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/dnscrypt-proxy/dnscrypt-proxy.toml b/etc/dnscrypt-proxy/dnscrypt-proxy.toml index bc6346ca..c9b25bb1 100644 --- a/etc/dnscrypt-proxy/dnscrypt-proxy.toml +++ b/etc/dnscrypt-proxy/dnscrypt-proxy.toml @@ -34,9 +34,8 @@ cache_size = 10000 # Load-balancing # fastest = always fastest, p2 = random between two fastest, ph = random # from the fastest half of the configured list, random = any random -# Default is p2, but as my list grew so long and contains so much IPv6 that -# may not work everywhere, I am picking ph just in case. -lb_strategy = 'ph' +# https://github.com/jedisct1/dnscrypt-proxy/wiki/Load-Balancing-Options +lb_strategy = 'p2' # Tor if necessary #force_tcp = true @@ -60,4 +59,5 @@ lb_strategy = 'ph' # [sources.'opennic'] # urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/opennic.md', 'https://download.dnscrypt.info/resolvers-list/v2/opennic.md'] # minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3' +# refresh_delay = 72 # cache_file = '/var/cache/dnscrypt-proxy/opennic.md'