From 3f2656dbe3e5f2ab1af93f62981352ec994d4f77 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 31 May 2019 23:02:45 +0200 Subject: [PATCH] Document netprobe_address --- dnscrypt-proxy/example-dnscrypt-proxy.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dnscrypt-proxy/example-dnscrypt-proxy.toml b/dnscrypt-proxy/example-dnscrypt-proxy.toml index d48dc1de..2f9b72dd 100644 --- a/dnscrypt-proxy/example-dnscrypt-proxy.toml +++ b/dnscrypt-proxy/example-dnscrypt-proxy.toml @@ -200,8 +200,20 @@ ignore_system_dns = false ## connectivity is not guaranteed to be immediately available. ## 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