Encrypt your DNS requests using DNS-over-TLS in Linux
Quick, easy, and dirty way to encrypt your DNS requests in Arch Linux.
This method protects the entire operating system, not just the browser. Uses systemd-resolved, and should work on any Linux install that uses systemd as the init.
STEPS
———-
1- edit /etc/systemd/resolved.conf and add DNS resolvers, and uncomment the DNSoverTLS entry, changing “no” to “yes”
2- backup, then delete your old /etc/resolv.conf file
3- create a symbolic link to the systemd-resolved resolved by running: ln -sf /run/systemd/resolve/stub-resolve.conf /etc/resolv.conf
4- enable systemd-resolved by running: systemctl enable systemd-resolved
5- start systemd-resolved by running: systemctl start systemd-resolved
Your OS dns requests are now sent out encrypted over port 853! Enjoy, but remember, you’re nowhere near being anonymous yet!
by Walian
linux dns server
awesome, thanks