upstream 2.0.14

This commit is contained in:
bluemeda 2018-05-24 02:13:20 +07:00
parent 985554e389
commit 0d2496b926
6 changed files with 32 additions and 12 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -68,8 +68,11 @@ require_nolog = true
require_nofilter = true
## Always use TCP to connect to upstream servers
## Always use TCP to connect to upstream servers.
## This can be can be useful if you need to route everything through Tor.
## Otherwise, leave this to `false`, as it doesn't improve security
## (dnscrypt-proxy will always encrypt everything even using UDP), and can
## only increase latency.
force_tcp = false
@ -154,12 +157,21 @@ cert_refresh_delay = 240
fallback_resolver = '9.9.9.9:53'
## Never try to use the system DNS settings; unconditionally use the
## fallback resolver.
## Never let dnscrypt-proxy try to use the system DNS settings;
## unconditionally use the fallback resolver.
ignore_system_dns = false
## Maximum time (in seconds) to wait for network connectivity before
## 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.
netprobe_timeout = 30
## Automatic log files rotation
# Maximum log files size in MB
@ -179,8 +191,9 @@ log_files_max_backups = 1
## Immediately respond to IPv6-related queries with an empty response
## This makes things faster when there is no IPv6 connectivity, but can
## also cause reliability issues with some stub resolvers. In
## particular, enabling this on macOS is not recommended.
## also cause reliability issues with some stub resolvers.
## Do not enable if you added a validating resolver such as dnsmasq in front
## of the proxy.
block_ipv6 = false
@ -238,9 +251,14 @@ cache_min_ttl = 600
cache_max_ttl = 86400
## TTL for negatively cached entries
## Minimum TTL for negatively cached entries
cache_neg_ttl = 60
cache_neg_min_ttl = 60
## Maximum TTL for negatively cached entries
cache_neg_max_ttl = 600

View File

@ -3,10 +3,12 @@
##################################
## This is used to route specific domain names to specific servers.
## The general format is: <domain> <server address> [, <server address>...]
## Addresses can be IPv4 and IPv6, and include a non-standard port number.
## The general format is:
## <domain> <server address>[:port] [, <server address>[:port]...]
## IPv6 addresses can be specified by enclosing the address in square brackets.
## In order to enable this feature, the "forwarding_rules" property needs to
## be set to that file name in the main configuration file.
## be set to this file name inside the main configuration file.
example.com 9.9.9.9,8.8.8.8
## Forward queries for example.com and *.example.com to 9.9.9.9 and 8.8.8.8
# example.com 9.9.9.9,8.8.8.8