Install and Enable DNSCrypt Proxy 2 in Ubuntu 18.04 Or 18.10 / Debian Unstable Or Testing [How To]

DNSCrypt is a network protocol which authenticates and encrypts Domain Name System (DNS) traffic between the user’s computer and recursive name servers. It turns regular DNS traffic into encrypted DNS traffic that’s protected from spying, spoofing, or man-in-the-middle attacks, thus improving the user’s online security and privacy. Compared to v1, the 2.0 series of DNSCrypt Proxy, which had its first stable release back in February, was rewritten in Go, has support for DNS-over-TLS and DNS-over-HTTP, and it supports DNS caching.