|
|
2076a2f |
diff -up dnscrypt-proxy-2.0.14/dnscrypt-proxy/example-dnscrypt-proxy.toml.custom_config dnscrypt-proxy-2.0.14/dnscrypt-proxy/example-dnscrypt-proxy.toml
|
|
|
2076a2f |
--- dnscrypt-proxy-2.0.14/dnscrypt-proxy/example-dnscrypt-proxy.toml.custom_config 2018-04-27 01:14:14.000000000 +0200
|
|
|
2076a2f |
+++ dnscrypt-proxy-2.0.14/dnscrypt-proxy/example-dnscrypt-proxy.toml 2018-05-06 02:19:56.176052976 +0200
|
|
|
2076a2f |
@@ -33,7 +33,7 @@
|
|
|
2076a2f |
## List of local addresses and ports to listen to. Can be IPv4 and/or IPv6.
|
|
|
2076a2f |
## Note: When using systemd socket activation, choose an empty set (i.e. [] ).
|
|
|
2076a2f |
|
|
|
2076a2f |
-listen_addresses = ['127.0.0.1:53', '[::1]:53']
|
|
|
2076a2f |
+listen_addresses = []
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
2076a2f |
## Maximum number of simultaneous client connections to accept
|
|
|
2076a2f |
@@ -99,12 +99,12 @@ keepalive = 30
|
|
|
2076a2f |
|
|
|
2076a2f |
## log file for the application
|
|
|
2076a2f |
|
|
|
2076a2f |
-# log_file = 'dnscrypt-proxy.log'
|
|
|
2076a2f |
+# log_file = '/var/log/dnscrypt-proxy/dnscrypt-proxy.log'
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
2076a2f |
## Use the system logger (syslog on Unix, Event Log on Windows)
|
|
|
2076a2f |
|
|
|
2076a2f |
-# use_syslog = true
|
|
|
2076a2f |
+use_syslog = true
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
2076a2f |
## Delay, in minutes, after which certificates are reloaded
|
|
|
2076a2f |
@@ -197,7 +197,7 @@ block_ipv6 = false
|
|
|
2076a2f |
## example.com 9.9.9.9
|
|
|
2076a2f |
## example.net 9.9.9.9,8.8.8.8,1.1.1.1
|
|
|
2076a2f |
|
|
|
2076a2f |
-# forwarding_rules = 'forwarding-rules.txt'
|
|
|
2076a2f |
+# forwarding_rules = '/etc/dnscrypt-proxy/forwarding-rules.txt'
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
2076a2f |
@@ -213,7 +213,7 @@ block_ipv6 = false
|
|
|
2076a2f |
## example.com 10.1.1.1
|
|
|
2076a2f |
## www.google.com forcesafesearch.google.com
|
|
|
2076a2f |
|
|
|
2076a2f |
-# cloaking_rules = 'cloaking-rules.txt'
|
|
|
2076a2f |
+# cloaking_rules = '/etc/dnscrypt-proxy/cloaking-rules.txt'
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
2076a2f |
@@ -262,7 +262,7 @@ cache_neg_max_ttl = 600
|
|
|
2076a2f |
|
|
|
2076a2f |
## Path to the query log file (absolute, or relative to the same directory as the executable file)
|
|
|
2076a2f |
|
|
|
2076a2f |
- # file = 'query.log'
|
|
|
2076a2f |
+ # file = '/var/log/dnscrypt-proxy/query.log'
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
2076a2f |
## Query log format (currently supported: tsv and ltsv)
|
|
|
2076a2f |
@@ -288,7 +288,7 @@ cache_neg_max_ttl = 600
|
|
|
2076a2f |
|
|
|
2076a2f |
## Path to the query log file (absolute, or relative to the same directory as the executable file)
|
|
|
2076a2f |
|
|
|
2076a2f |
- # file = 'nx.log'
|
|
|
2076a2f |
+ # file = '/var/log/dnscrypt-proxy/nx.log'
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
2076a2f |
## Query log format (currently supported: tsv and ltsv)
|
|
|
2076a2f |
@@ -318,12 +318,12 @@ cache_neg_max_ttl = 600
|
|
|
2076a2f |
|
|
|
2076a2f |
## Path to the file of blocking rules (absolute, or relative to the same directory as the executable file)
|
|
|
2076a2f |
|
|
|
2076a2f |
- # blacklist_file = 'blacklist.txt'
|
|
|
2076a2f |
+ # blacklist_file = '/etc/dnscrypt-proxy/blacklist.txt'
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
2076a2f |
## Optional path to a file logging blocked queries
|
|
|
2076a2f |
|
|
|
2076a2f |
- # log_file = 'blocked.log'
|
|
|
2076a2f |
+ # log_file = '/var/log/dnscrypt-proxy/blocked.log'
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
2076a2f |
## Optional log format: tsv or ltsv (default: tsv)
|
|
|
2076a2f |
@@ -346,12 +346,12 @@ cache_neg_max_ttl = 600
|
|
|
2076a2f |
|
|
|
2076a2f |
## Path to the file of blocking rules (absolute, or relative to the same directory as the executable file)
|
|
|
2076a2f |
|
|
|
2076a2f |
- # blacklist_file = 'ip-blacklist.txt'
|
|
|
2076a2f |
+ # blacklist_file = '/etc/dnscrypt-proxy/ip-blacklist.txt'
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
2076a2f |
## Optional path to a file logging blocked queries
|
|
|
2076a2f |
|
|
|
2076a2f |
- # log_file = 'ip-blocked.log'
|
|
|
2076a2f |
+ # log_file = '/var/log/dnscrypt-proxy/ip-blocked.log'
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
2076a2f |
## Optional log format: tsv or ltsv (default: tsv)
|
|
|
2076a2f |
@@ -374,12 +374,12 @@ cache_neg_max_ttl = 600
|
|
|
2076a2f |
|
|
|
2076a2f |
## Path to the file of whitelisting rules (absolute, or relative to the same directory as the executable file)
|
|
|
2076a2f |
|
|
|
2076a2f |
- # whitelist_file = 'whitelist.txt'
|
|
|
2076a2f |
+ # whitelist_file = '/etc/dnscrypt-proxy/whitelist.txt'
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
2076a2f |
## Optional path to a file logging whitelisted queries
|
|
|
2076a2f |
|
|
|
2076a2f |
- # log_file = 'whitelisted.log'
|
|
|
2076a2f |
+ # log_file = '/var/log/dnscrypt-proxy/whitelisted.log'
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
2076a2f |
## Optional log format: tsv or ltsv (default: tsv)
|
|
|
2076a2f |
@@ -449,7 +449,7 @@ cache_neg_max_ttl = 600
|
|
|
2076a2f |
|
|
|
2076a2f |
[sources.'public-resolvers']
|
|
|
2076a2f |
urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md', 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md']
|
|
|
2076a2f |
- cache_file = 'public-resolvers.md'
|
|
|
2076a2f |
+ cache_file = '/var/cache/dnscrypt-proxy/public-resolvers.md'
|
|
|
2076a2f |
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
|
|
2076a2f |
refresh_delay = 72
|
|
|
2076a2f |
prefix = ''
|
|
|
2076a2f |
@@ -459,7 +459,7 @@ cache_neg_max_ttl = 600
|
|
|
2076a2f |
|
|
|
2076a2f |
# [sources.'parental-control']
|
|
|
2076a2f |
# urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/parental-control.md', 'https://download.dnscrypt.info/resolvers-list/v2/parental-control.md']
|
|
|
2076a2f |
- # cache_file = 'parental-control.md'
|
|
|
2076a2f |
+ # cache_file = '/var/cache/dnscrypt-proxy/parental-control.md'
|
|
|
2076a2f |
# minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
|
|
2076a2f |
|
|
|
2076a2f |
|