From 32b1fd4a9aaeac688b5e9861b64e83fed04cc26f Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Mon, 26 Nov 2018 17:00:50 +0200 Subject: [PATCH] dnscrypt-proxy.toml: disable logging & put it where it belongs --- etc/dnscrypt-proxy/dnscrypt-proxy.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/etc/dnscrypt-proxy/dnscrypt-proxy.toml b/etc/dnscrypt-proxy/dnscrypt-proxy.toml index e19aebdf..f8d4df80 100644 --- a/etc/dnscrypt-proxy/dnscrypt-proxy.toml +++ b/etc/dnscrypt-proxy/dnscrypt-proxy.toml @@ -8,12 +8,6 @@ listen_addresses = [] # mikaela.internal / my hosts file #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 # 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'] @@ -47,6 +41,12 @@ lb_strategy = 'ph' #force_tcp = true #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.'public-resolvers'] url = 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md'