Skip to content

Instantly share code, notes, and snippets.

@soardex
Created June 19, 2015 11:32
Show Gist options
  • Save soardex/fbdf2c8640ba79f06b91 to your computer and use it in GitHub Desktop.
Save soardex/fbdf2c8640ba79f06b91 to your computer and use it in GitHub Desktop.
Securing DNS with DNScrypt
# install on Arch: pacman -S dnscrypt-proxy
# run DNSCrypt as a daemonize service
# where `resolver name` could be found on this list
# https://github.com/jedisct1/dnscrypt-proxy/blob/master/dnscrypt-resolvers.csv
sudo dnscrypt-proxy --ephemeral-keys --resolver-name=[resolver name] --daemonize
# example of usage:
sudo dnscrypt-proxy --ephemeral-keys --resolver-name=opendns --daemonize
# lastly set your dns to direct to 127.0.0.1
# be sure your not running bind so it would not overlap the port
# set /etc/resolv.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment