diff -up dnscrypt-proxy-2.1.5/dnscrypt-proxy/example-dnscrypt-proxy.toml.orig dnscrypt-proxy-2.1.5/dnscrypt-proxy/example-dnscrypt-proxy.toml
--- dnscrypt-proxy-2.1.5/dnscrypt-proxy/example-dnscrypt-proxy.toml.orig 2023-08-11 18:56:31.000000000 +0200
+++ dnscrypt-proxy-2.1.5/dnscrypt-proxy/example-dnscrypt-proxy.toml 2023-09-23 11:08:39.346452158 +0200
@@ -170,7 +170,7 @@ keepalive = 30
## This file is different from other log files, and will not be
## automatically rotated by the application.
-# log_file = 'dnscrypt-proxy.log'
+# log_file = '/var/log/dnscrypt-proxy/dnscrypt-proxy.log'
## When using a log file, only keep logs from the most recent launch.
@@ -180,7 +180,7 @@ keepalive = 30
## Use the system logger (syslog on Unix, Event Log on Windows)
-# use_syslog = true
+use_syslog = true
## Delay, in minutes, after which certificates are reloaded
@@ -372,7 +372,7 @@ reject_ttl = 10
## See the `example-forwarding-rules.txt` file for an example
-# forwarding_rules = 'forwarding-rules.txt'
+# forwarding_rules = '/etc/dnscrypt-proxy/forwarding-rules.txt'
@@ -388,7 +388,7 @@ reject_ttl = 10
##
## See the `example-cloaking-rules.txt` file for an example
-# cloaking_rules = 'cloaking-rules.txt'
+# cloaking_rules = '/etc/dnscrypt-proxy/cloaking-rules.txt'
## TTL used when serving entries in cloaking-rules.txt
@@ -442,7 +442,7 @@ cache_neg_max_ttl = 600
## check for connectivity and captive portals, along with hard-coded
## IP addresses to return.
-# map_file = 'example-captive-portals.txt'
+# map_file = '/etc/dnscrypt-proxy/example-captive-portals.txt'
@@ -490,7 +490,7 @@ cache_neg_max_ttl = 600
## Path to the query log file (absolute, or relative to the same directory as the config file)
## Can be set to /dev/stdout in order to log to the standard output.
-# file = 'query.log'
+# file = '/var/log/dnscrypt-proxy/query.log'
## Query log format (currently supported: tsv and ltsv)
@@ -516,7 +516,7 @@ format = 'tsv'
## Path to the query log file (absolute, or relative to the same directory as the config file)
-# file = 'nx.log'
+# file = '/var/log/dnscrypt-proxy/nx.log'
## Query log format (currently supported: tsv and ltsv)
@@ -546,12 +546,12 @@ format = 'tsv'
## Path to the file of blocking rules (absolute, or relative to the same directory as the config file)
-# blocked_names_file = 'blocked-names.txt'
+# blocked_names_file = '/etc/dnscrypt-proxy/blocked-names.txt'
## Optional path to a file logging blocked queries
-# log_file = 'blocked-names.log'
+# log_file = '/var/log/dnscrypt-proxy/blocked-names.log'
## Optional log format: tsv or ltsv (default: tsv)
@@ -574,12 +574,12 @@ format = 'tsv'
## Path to the file of blocking rules (absolute, or relative to the same directory as the config file)
-# blocked_ips_file = 'blocked-ips.txt'
+# blocked_ips_file = '/etc/dnscrypt-proxy/blocked-ips.txt'
## Optional path to a file logging blocked queries
-# log_file = 'blocked-ips.log'
+# log_file = '/var/log/dnscrypt-proxy/blocked-ips.log'
## Optional log format: tsv or ltsv (default: tsv)
@@ -602,12 +602,12 @@ format = 'tsv'
## Path to the file of allow list rules (absolute, or relative to the same directory as the config file)
-# allowed_names_file = 'allowed-names.txt'
+# allowed_names_file = '/etc/dnscrypt-proxy/allowed-names.txt'
## Optional path to a file logging allowed queries
-# log_file = 'allowed-names.log'
+# log_file = '/var/log/dnscrypt-proxy/allowed-names.log'
## Optional log format: tsv or ltsv (default: tsv)
@@ -630,12 +630,12 @@ format = 'tsv'
## Path to the file of allowed ip rules (absolute, or relative to the same directory as the config file)
-# allowed_ips_file = 'allowed-ips.txt'
+# allowed_ips_file = '/etc/dnscrypt-proxy/allowed-ips.txt'
## Optional path to a file logging allowed queries
-# log_file = 'allowed-ips.log'
+# log_file = '/var/log/dnscrypt-proxy/allowed-ips.log'
## Optional log format: tsv or ltsv (default: tsv)
@@ -706,7 +706,7 @@ format = 'tsv'
[sources.public-resolvers]
urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/public-resolvers.md', 'https://download.dnscrypt.info/resolvers-list/v3/public-resolvers.md']
- cache_file = 'public-resolvers.md'
+ cache_file = '/var/cache/dnscrypt-proxy/public-resolvers.md'
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
refresh_delay = 72
prefix = ''
@@ -715,7 +715,7 @@ format = 'tsv'
[sources.relays]
urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/relays.md', 'https://download.dnscrypt.info/resolvers-list/v3/relays.md']
- cache_file = 'relays.md'
+ cache_file = '/var/cache/dnscrypt-proxy/relays.md'
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
refresh_delay = 72
prefix = ''
@@ -724,13 +724,13 @@ format = 'tsv'
# [sources.odoh-servers]
# urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/odoh-servers.md', 'https://download.dnscrypt.info/resolvers-list/v3/odoh-servers.md']
- # cache_file = 'odoh-servers.md'
+ # cache_file = '/var/cache/dnscrypt-proxy/odoh-servers.md'
# minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
# refresh_delay = 24
# prefix = ''
# [sources.odoh-relays]
# urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/odoh-relays.md', 'https://download.dnscrypt.info/resolvers-list/v3/odoh-relays.md']
- # cache_file = 'odoh-relays.md'
+ # cache_file = '/var/cache/dnscrypt-proxy/odoh-relays.md'
# minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
# refresh_delay = 24
# prefix = ''
@@ -740,7 +740,7 @@ format = 'tsv'
# [sources.quad9-resolvers]
# urls = ['https://www.quad9.net/quad9-resolvers.md']
# minisign_key = 'RWQBphd2+f6eiAqBsvDZEBXBGHQBJfeG6G+wJPPKxCZMoEQYpmoysKUN'
- # cache_file = 'quad9-resolvers.md'
+ # cache_file = '/var/cache/dnscrypt-proxy/quad9-resolvers.md'
# prefix = 'quad9-'
### Another example source, with resolvers censoring some websites not appropriate for children
@@ -748,7 +748,7 @@ format = 'tsv'
# [sources.parental-control]
# urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/parental-control.md', 'https://download.dnscrypt.info/resolvers-list/v3/parental-control.md']
- # cache_file = 'parental-control.md'
+ # cache_file = '/var/cache/dnscrypt-proxy/parental-control.md'
# minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'