|
|
1d48545 |
diff -up dnscrypt-proxy-2.0.44/dnscrypt-proxy/example-dnscrypt-proxy.toml.orig dnscrypt-proxy-2.0.44/dnscrypt-proxy/example-dnscrypt-proxy.toml
|
|
|
1d48545 |
--- dnscrypt-proxy-2.0.44/dnscrypt-proxy/example-dnscrypt-proxy.toml.orig 2020-06-11 17:10:33.000000000 +0200
|
|
|
1d48545 |
+++ dnscrypt-proxy-2.0.44/dnscrypt-proxy/example-dnscrypt-proxy.toml 2020-06-17 22:01:28.300972741 +0200
|
|
|
1d48545 |
@@ -36,7 +36,7 @@
|
|
|
2f1b1f3 |
## Example with both IPv4 and IPv6:
|
|
|
2f1b1f3 |
## listen_addresses = ['127.0.0.1:53', '[::1]:53']
|
|
|
2f1b1f3 |
|
|
|
2f1b1f3 |
-listen_addresses = ['127.0.0.1:53']
|
|
|
2076a2f |
+listen_addresses = []
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
2076a2f |
## Maximum number of simultaneous client connections to accept
|
|
|
1d48545 |
@@ -146,7 +146,7 @@ keepalive = 30
|
|
|
1d48545 |
## This file is different from other log files, and will not be
|
|
|
1d48545 |
## automatically rotated by the application.
|
|
|
2076a2f |
|
|
|
2076a2f |
-# log_file = 'dnscrypt-proxy.log'
|
|
|
2076a2f |
+# log_file = '/var/log/dnscrypt-proxy/dnscrypt-proxy.log'
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
1d48545 |
## When using a log file, only keep logs from the most recent launch.
|
|
|
1d48545 |
@@ -156,7 +156,7 @@ keepalive = 30
|
|
|
1d48545 |
|
|
|
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
|
|
|
1d48545 |
@@ -310,7 +310,7 @@ reject_ttl = 600
|
|
|
1d48545 |
|
|
|
1d48545 |
## See the `example-forwarding-rules.txt` file for an example
|
|
|
2076a2f |
|
|
|
2076a2f |
-# forwarding_rules = 'forwarding-rules.txt'
|
|
|
2076a2f |
+# forwarding_rules = '/etc/dnscrypt-proxy/forwarding-rules.txt'
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
2076a2f |
|
|
|
1d48545 |
@@ -324,7 +324,7 @@ reject_ttl = 600
|
|
|
1d48545 |
##
|
|
|
1d48545 |
## See the `example-cloaking-rules.txt` file for an example
|
|
|
2076a2f |
|
|
|
2076a2f |
-# cloaking_rules = 'cloaking-rules.txt'
|
|
|
2076a2f |
+# cloaking_rules = '/etc/dnscrypt-proxy/cloaking-rules.txt'
|
|
|
2076a2f |
|
|
|
30b4f69 |
## TTL used when serving entries in cloaking-rules.txt
|
|
|
2076a2f |
|
|
|
1d48545 |
@@ -408,7 +408,7 @@ cache_neg_max_ttl = 600
|
|
|
1483d2d |
## Path to the query log file (absolute, or relative to the same directory as the config file)
|
|
|
1d48545 |
## On non-Windows systems, can be /dev/stdout to log to the standard output (also 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)
|
|
|
1d48545 |
@@ -434,7 +434,7 @@ cache_neg_max_ttl = 600
|
|
|
2076a2f |
|
|
|
1483d2d |
## Path to the query log file (absolute, or relative to the same directory as the config 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)
|
|
|
1d48545 |
@@ -464,12 +464,12 @@ cache_neg_max_ttl = 600
|
|
|
2076a2f |
|
|
|
1483d2d |
## Path to the file of blocking rules (absolute, or relative to the same directory as the config 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)
|
|
|
1d48545 |
@@ -492,12 +492,12 @@ cache_neg_max_ttl = 600
|
|
|
2076a2f |
|
|
|
1483d2d |
## Path to the file of blocking rules (absolute, or relative to the same directory as the config 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)
|
|
|
1d48545 |
@@ -520,12 +520,12 @@ cache_neg_max_ttl = 600
|
|
|
2076a2f |
|
|
|
1483d2d |
## Path to the file of whitelisting rules (absolute, or relative to the same directory as the config 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)
|
|
|
1d48545 |
@@ -594,7 +594,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 |
|
|
|
1d48545 |
@@ -620,7 +620,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 |
|