From Funtoo
Revision as of 16:45, August 4, 2020 by Pnoecker (talk | contribs)
Jump to: navigation, search



We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.


As this page deals with DNS it has the potential to break your internet access! Ensure you have stable live media that can restore your system.

DNScrypt provides encryption from clients to upstream DNS servers. Encrypting this traffic prevents spying, spoofing, and other man-in-the-middle attacks.


root # emerge dnscrypt-proxy


By default, opendns is used, although some opennic servers support dnscrypt.

/etc/conf.d/dnscrypt-proxy controls settings for DNScrypt. A list of resolvers has been compiled for use with DNScrypt.

   /etc/resolv.conf - set dns server as dnscrypt-proxy

net-dns/dnsmasq Configuration

Most configurations are located at /etc/dnscrypt-proxy/dnscrypt-proxy.toml

   /etc/conf.d/dnscrypt-proxy - set dnscrypt-proxy server on an alternate port for dnsmasq to listen to.


root # rc-update add dnscrypt-proxy default
root # rc


If you're using opendns, this welcome page will tell you if you're encrypted or not.

If you're using any other encryption enabled dns servers, try a "leak" test. They should only report the dns servers associated with the ones you've chosen from the list.

arch wiki