c29b631
diff -up dnscrypt-proxy-2.0.27/dnscrypt-proxy/example-dnscrypt-proxy.toml.config dnscrypt-proxy-2.0.27/dnscrypt-proxy/example-dnscrypt-proxy.toml
c29b631
--- dnscrypt-proxy-2.0.27/dnscrypt-proxy/example-dnscrypt-proxy.toml.config	2019-09-09 18:46:54.000000000 +0200
c29b631
+++ dnscrypt-proxy-2.0.27/dnscrypt-proxy/example-dnscrypt-proxy.toml	2019-09-12 15:38:14.522558377 +0200
31260b2
@@ -32,7 +32,7 @@
31260b2
 
2076a2f
 ## List of local addresses and ports to listen to. Can be IPv4 and/or IPv6.
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
31260b2
@@ -135,12 +135,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
31260b2
@@ -272,7 +272,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
 
31260b2
@@ -288,7 +288,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
 
c29b631
@@ -338,7 +338,7 @@ cache_neg_max_ttl = 600
2076a2f
   ## Path to the query log file (absolute, or relative to the same directory as the executable file)
31260b2
   ## Can be /dev/stdout to log to the standard output (and set log_files_max_size to 0)
2076a2f
 
2076a2f
-  # file = 'query.log'
2076a2f
+  # file = '/var/log/dnscrypt-proxy/query.log'
2076a2f
 
2076a2f
 
2076a2f
   ## Query log format (currently supported: tsv and ltsv)
c29b631
@@ -364,7 +364,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)
c29b631
@@ -394,12 +394,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)
c29b631
@@ -422,12 +422,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)
c29b631
@@ -450,12 +450,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)
c29b631
@@ -525,7 +525,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
   prefix = ''
c29b631
 
c29b631
@@ -542,7 +542,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