dnscrypt-proxy.toml: disable logging & put it where it belongs

This commit is contained in:
Aminda Suomalainen 2018-11-26 17:00:50 +02:00
parent 397821db0a
commit 32b1fd4a9a
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67

View File

@ -8,12 +8,6 @@ listen_addresses = []
# mikaela.internal / my hosts file # mikaela.internal / my hosts file
#cloaking_rules = '/etc/dnscrypt-proxy/hosts-mikaela.txt' #cloaking_rules = '/etc/dnscrypt-proxy/hosts-mikaela.txt'
# Logs on top for easier noticing and disabling
[query_log]
file = '/var/log/dnscrypt-proxy/query.log'
[nx_log]
file = '/var/log/dnscrypt-proxy/nx.log'
# The fastest working servers are automatically picked from configured # The fastest working servers are automatically picked from configured
# ones. If not configured, the whole list is compared. # ones. If not configured, the whole list is compared.
#server_names = ['cloudflare-ipv6', 'quad9-ip6-nofilter-pri', 'quad9-ip6-nofilter-alt', 'cloudflare', 'google', 'quad9-ip4-nofilter-pri', 'quad9-ip4-nofilter-alt'] #server_names = ['cloudflare-ipv6', 'quad9-ip6-nofilter-pri', 'quad9-ip6-nofilter-alt', 'cloudflare', 'google', 'quad9-ip4-nofilter-pri', 'quad9-ip4-nofilter-alt']
@ -47,6 +41,12 @@ lb_strategy = 'ph'
#force_tcp = true #force_tcp = true
#proxy = "socks5://127.0.0.1:9050" #proxy = "socks5://127.0.0.1:9050"
# To be enabled by hand on systems needing them
#[query_log]
# file = '/var/log/dnscrypt-proxy/query.log'
#[nx_log]
# file = '/var/log/dnscrypt-proxy/nx.log'
[sources] [sources]
[sources.'public-resolvers'] [sources.'public-resolvers']
url = 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md' url = 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md'