Answer the question
In order to leave comments, you need to log in
How to enable dnscrypt-proxy?
In general, I will describe what I did:
1) Changed ipv4 to 127.0.0.1
2) Entered into the file, it looks like thisdnscrypt-proxy.toml
# Empty listen_addresses to use systemd socket activation
listen_addresses = []
server_names = ['cloudflare']
#тут просто в инете нашел вставил
ipv4_servers = true
ipv6_servers = false
dnscrypt_servers = true
doh_servers = true
require_nolog = true
require_nofilter = true
require_dnssec = true
timeout = 5000
keepalive = 30
cache = true
cache_size = 1024
cache_min_ttl = 2400
cache_max_ttl = 86400
cache_neg_min_ttl = 60
cache_neg_max_ttl = 600
fallback_resolver = '1.1.1.1:5353'
###
#остальное стандарт
[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'
cache_file = '/var/cache/dnscrypt-proxy/public-resolvers.md'
minisign_key = 'тут какой то ключ думаю он не нужно его показывать'
refresh_delay = 72
prefix = ''
/etc/resolv.conf
# Generated by NetworkManager
nameserver 127.0.0.1
127.0.2.1
it, tried it, tried 127.0.0.2
a lot, nothing works. Answer the question
In order to leave comments, you need to log in
dnscrypt-proxy.toml
To get started, put the following
in the listen address file listen_addresses = ['127.0.0.1:53']
. Ours is empty. Naturally, traffic is not redirected anywhere and nothing works.
I myself have repeatedly used and still use dnscrypt-proxy on many systems. The only problem was with Arch Linux which later resolved. I will describe step by step how I set it up on Ubuntu / Mint.
1. Installing from an official distro turnip sudo apt install dnscrypt-proxy
or a more recent version from a third-party turnip
sudo add-apt-repository ppa:shevchuk/dnscrypt-proxy
sudo apt update
sudo apt install dnscrypt-proxy
127.0.0.1
sudo nano /etc/dnscrypt-proxy/dnscrypt-proxy.toml
server_names
if it is commented out and add the names of dns servers from public-resolvers to it , according to the principle server_names = [‘cloudflare’, ‘adguard-dns-doh’]
, you can list several address names separated by commas. Be sure to use multiple addresses. It happens that one is blocked or falls off. In this case, the other one that you specified will be picked up. server_names
, you must restart dnscrypt-proxy
with the command: sudo systemctl restart dnscrypt-proxy
sudo apt-get install wireshark
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question