D
D
Damian Lewis2021-11-01 15:40:32
linux
Damian Lewis, 2021-11-01 15:40:32

DNSCrypt-proxy not working on Arch Linux?

Good afternoon. I used dnscrypt on Linux Mint without any problems, and today I installed dnscrypt-proxy on Arch for the first time and everything is a little different. I will explain step by step what I did.

1. Installed dnscrypt-proxy via pacman sudo pacman -S dnscrypt-proxy

2. Activated and started the service:

systemctl enable dnscrypt-proxy.service
systemctl start dnscrypt-proxy.service


3. Uncommented the server_names line in the file
dnscrypt-proxy.toml
617fda60851b7255873228.png
and left the server by default

4. In the network settings - IPV4 - DNS - I registered 127.0.0.1. This is the address in
dnscrypt-proxy.toml
617fd8b63cdc9704132120.png
for listening.

5. Restarted NetworkManager and dnscrypt-proxy
sudo systemctl restart NetworkManager
sudo systemctl restart dnscrypt-proxy


6. Checked if the service is running
systemctl status dnscrypt-proxy.service
617fdb3ff33c7951489777.png


This completes the setup. Checked DNS on several sites, displays the real DNS. He hasn't changed. Apparently missed something.

What was the suspicion?
- First of all, to the address 127.0.0.1. Usually it was always specified as 127.0.2.1 during configuration. I decided to check it in the dnscrypt-proxy.toml file and in the NetworkManager settings and changed it to 127.0.2.1. Restarted all services, did not work. Returned everything back.
- The second suspicion fell on the port. It is listed as 127.0.0.1:53 by default. I still do not understand where to register it in NetworkManager. Together with IP through a colon, it is not prescribed.
- Also concerned about the "Netmask" and "Gateway". The netmask is required, otherwise the save button is disabled. I decided to randomly enter some numbers into the "Network Mask", and the system changed everything to 22. I left it like that. The gateway can be left empty.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Damian Lewis, 2021-11-01
@DamianLewis

Found a tutorial that worked
How to install dnscrypt-proxy on Arch Linux, BlackA...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question