DEV Community

Cover image for encrypt dns [devuan linux]
n1nj4
n1nj4

Posted on

encrypt dns [devuan linux]

let’s encrypt dns with forked dnscrypt-proxy for devuan in 6 steps

sudo apt install dnscrypt-proxy
sudo nano /etc/dnscrypt-proxy/dnscrypt-proxy.toml
Enter fullscreen mode Exit fullscreen mode

modify
listen_addresses = [‘127.0.0.1:53’]

edit server_names
https://dnscrypt.info/public-servers

example
server_names = [‘cloudfare’,’ahadns-doh-ny’]

echo “nameserver 127.0.0.1” | sudo tee /etc/resolv.conf
Enter fullscreen mode Exit fullscreen mode

change resolv.conf attributes to immutable

sudo chattr +i /etc/resolv.conf
Enter fullscreen mode Exit fullscreen mode

restart services


sudo service network-manager restart
sudo service dnscrypt-proxy restart
Enter fullscreen mode Exit fullscreen mode

check

https://dnsleaktest.com

Top comments (0)