Table of Contents

DNSCrypt

DNSCrypt is a protocol that encrypts, authenticates and optionally anonymizes communications between a DNS client and a DNS resolver. It prevents DNS spoofing. It uses cryptographic signatures to verify that responses originate from the chosen DNS resolver and haven’t been tampered with.

It is an open specification, with free and open source reference implementations, and it is not affiliated with any company nor organization.

Free, DNSCrypt-enabled resolvers are available all over the world.

Package

pacman -S dnscrypt-proxy

Check also the link for other devices.

Config file

Change your dnscrypt-proxy.toml config file.

nano /etc/dnscrypt-proxy/dnscrypt-proxy.toml

server_names

server_names = ['techsaviours.org-dnscrypt']

(Optional) listen_addresses

If you're going to use Unbound and AdGuardHome you'll need to change the listen_addresses as well.

listen_addresses = ['127.0.0.1:5300']

Anonymized DNS

Go to the bottom routes = [ and add:

routes = [
    { server_name='2.dnscrypt-cert.techsaviours.org', via=['anon-techsaviours.org'] }
]

Start/restart

systemctl enable --now dnscrypt-proxy.service
systemctl restart dnscrypt-proxy.service
2022/04/16 21:47 · dan