From 088fa83b1ad8922b6858963702132711401ad6f8 Mon Sep 17 00:00:00 2001 From: quindecim Date: Wed, 21 Oct 2020 23:30:08 -0400 Subject: [PATCH] [UPSTREAM] - Update example-dnscrypt-proxy.toml https://github.com/DNSCrypt/dnscrypt-proxy/commit/078f69357e48e2a211246316e370f477881eedb5 --- config/dnscrypt-proxy.toml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/config/dnscrypt-proxy.toml b/config/dnscrypt-proxy.toml index 409c518..d3acc1b 100644 --- a/config/dnscrypt-proxy.toml +++ b/config/dnscrypt-proxy.toml @@ -125,20 +125,23 @@ keepalive = 30 # edns_client_subnet = ["0.0.0.0/0", "2001:db8::/32"] -## Response for blocked queries. Options are `refused`, `hinfo` (default) or -## an IP response. To give an IP response, use the format `a:,aaaa:`. +## Response for blocked queries. Options are `refused`, `hinfo` (default) or +## an IP response. To give an IP response, use the format `a:,aaaa:`. ## Using the `hinfo` option means that some responses will be lies. ## Unfortunately, the `hinfo` option appears to be required for Android 8+ blocked_query_response = 'refused' -## Load-balancing strategy: 'p2' (default), 'ph', 'first' or 'random' +## Load-balancing strategy: 'p2' (default), 'ph', 'p', 'first' or 'random' +## Randomly choose 1 of the fastest 2, half, n, 1 or all live servers by latency. +## The response quality still depends on the server itself. # lb_strategy = 'p2' ## Set to `true` to constantly try to estimate the latency of all the resolvers ## and adjust the load-balancing parameters accordingly, or to `false` to disable. +## Default is `true` that makes 'p2' `lb_strategy` work well. # lb_estimator = true @@ -500,7 +503,7 @@ cache_neg_max_ttl = 600 ## Path to the file of blocking rules (absolute, or relative to the same directory as the config file) - # blocked_ips_file = 'blocked-ips.txt' + blocked_ips_file = 'blocked-ips.txt' ## Optional path to a file logging blocked queries