diff options
Diffstat (limited to 'community/dnscrypt-proxy/config-full-paths.patch')
-rw-r--r-- | community/dnscrypt-proxy/config-full-paths.patch | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/community/dnscrypt-proxy/config-full-paths.patch b/community/dnscrypt-proxy/config-full-paths.patch index 3b0258fd3f..841afbee5a 100644 --- a/community/dnscrypt-proxy/config-full-paths.patch +++ b/community/dnscrypt-proxy/config-full-paths.patch @@ -1,9 +1,9 @@ diff --git a/./dnscrypt-proxy.toml b/dnscrypt-proxy/dnscrypt-proxy.toml new file mode 100644 -index 0000000..cabf679 +index 0000000..d1f55b0 --- /dev/null +++ b/dnscrypt-proxy/dnscrypt-proxy.toml -@@ -0,0 +1,530 @@ +@@ -0,0 +1,547 @@ + +############################################## +# # @@ -124,10 +124,15 @@ index 0000000..cabf679 +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) + @@ -204,10 +209,22 @@ index 0000000..cabf679 +## 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 |