From bdbe8d573a36ccd132f590294f968d5e8ac7310c Mon Sep 17 00:00:00 2001 From: Euler Alves Date: Thu, 6 Jun 2019 14:19:39 -0300 Subject: [PATCH] dnscrypt-proxy 2.0.25 Updated files from dnscrypt-proxy 2.0.25. # example-dnscrypt-proxy.toml - Sintaxe of an option of Load-balancing strategy changed from 'fastest' to 'first' - Added setting lb_estimator - Added parameter -1 to netprobe_timeout - Added setting netprobe_address # example-cloacking-rules.txt - Added Yandex option for family resolver --- config/example-cloaking-rules.txt | 2 ++ config/example-dnscrypt-proxy.toml | 21 +++++++++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/config/example-cloaking-rules.txt b/config/example-cloaking-rules.txt index e672afb..249410d 100644 --- a/config/example-cloaking-rules.txt +++ b/config/example-cloaking-rules.txt @@ -13,6 +13,8 @@ www.google.* forcesafesearch.google.com www.bing.com strict.bing.com +yandex.ru familysearch.yandex.ru + www.youtube.com restrictmoderate.youtube.com m.youtube.com restrictmoderate.youtube.com youtubei.googleapis.com restrictmoderate.youtube.com diff --git a/config/example-dnscrypt-proxy.toml b/config/example-dnscrypt-proxy.toml index 02b613f..3e6554d 100644 --- a/config/example-dnscrypt-proxy.toml +++ b/config/example-dnscrypt-proxy.toml @@ -118,10 +118,15 @@ keepalive = 30 refused_code_in_responses = false -## Load-balancing strategy: 'p2' (default), 'ph', 'fastest' or 'random' +## Load-balancing strategy: 'p2' (default), 'ph', 'first' or 'random' # 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. + +# lb_estimator = true + ## Log level (0-6, default: 2 - 0 is very verbose, 6 only contains fatal errors) @@ -198,10 +203,22 @@ ignore_system_dns = false ## initializing the proxy. ## Useful if the proxy is automatically started at boot, and network ## connectivity is not guaranteed to be immediately available. -## Use 0 to disable. +## Use 0 to not test for connectivity at all, +## and -1 to wait as much as possible. netprobe_timeout = 60 +## Address and port to try initializing a connection to, just to check +## if the network is up. It can be any address and any port, even if +## there is nothing answering these on the other side. Just don't use +## a local address, as the goal is to check for Internet connectivity. +## On Windows, a datagram with a single, nul byte will be sent, only +## when the system starts. +## On other operating systems, the connection will be initialized +## but nothing will be sent at all. + +netprobe_address = "9.9.9.9:53" + ## Offline mode - Do not use any remote encrypted servers. ## The proxy will remain fully functional to respond to queries that