mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-02 08:19:21 +01:00
Mikaela Suomalainen
9be5b35b32
I happened to wonder about reload times and think that this is nice to have visible here. Syslog is used by default and I am expecting it so it probably won't hurt being visible.
70 lines
2.8 KiB
TOML
70 lines
2.8 KiB
TOML
# Empty listen_addresses to use systemd socket activation (Debian)
|
|
listen_addresses = []
|
|
# When not using socket activation (Arch), 127.0.2.1:53 is what the Debian
|
|
# socket seems to give for all of my systems so I want to listen on it for
|
|
# compatibility
|
|
#listen_addresses = ['127.0.0.1:53', '127.0.2.1:53', '[::1]:53']
|
|
|
|
# mikaela.internal / my hosts file
|
|
#cloaking_rules = '/etc/dnscrypt-proxy/hosts-mikaela.txt'
|
|
|
|
# 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']
|
|
|
|
# Requirements for which servers to use
|
|
ipv4_servers = true
|
|
ipv6_servers = true
|
|
block_ipv6 = false
|
|
require_dnssec = true
|
|
require_nofilter = true
|
|
require_nolog = true
|
|
|
|
# Use Google DNS B for resolving the server_names[] if the system
|
|
# resolver is broken (which it is for me as it points directly to
|
|
# dnscrypt-proxy which is not functional at that time.)
|
|
# The example config recommends DNSSEC support which OpenDNS is missing.
|
|
# China: 114.114.114.114:53 according to the example file.
|
|
fallback_resolver = '8.8.4.4:53'
|
|
|
|
# Ensure syslog
|
|
use_syslog = true
|
|
|
|
# Cert reload time in minutes (see refresh_delay under sources for them)
|
|
cert_refresh_delay = 240
|
|
|
|
# Shouldn't take that much MEM and I imagine it's subject to TTL anyway.
|
|
cache = true
|
|
cache_size = 10000
|
|
|
|
# Load-balancing
|
|
# fastest = always fastest, p2 = random between two fastest, ph = random
|
|
# from the fastest half of the configured list, random = any random
|
|
# https://github.com/jedisct1/dnscrypt-proxy/wiki/Load-Balancing-Options
|
|
lb_strategy = 'p2'
|
|
|
|
# Tor if necessary
|
|
#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'
|
|
urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md', 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md', 'https://cdn.staticaly.com/gh/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md', 'https://evilvibes.com/list/public-resolvers.md']
|
|
cache_file = '/var/cache/dnscrypt-proxy/public-resolvers.md'
|
|
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
|
refresh_delay = 72
|
|
prefix = ''
|
|
|
|
# [sources.'opennic']
|
|
# urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/opennic.md', 'https://download.dnscrypt.info/resolvers-list/v2/opennic.md']
|
|
# minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
|
# refresh_delay = 72
|
|
# cache_file = '/var/cache/dnscrypt-proxy/opennic.md'
|