Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AlliotTech/4dc8c8536c2fd18a451ac18a75b9ccfd to your computer and use it in GitHub Desktop.
Save AlliotTech/4dc8c8536c2fd18a451ac18a75b9ccfd to your computer and use it in GitHub Desktop.
Instructions to install dnscrypt-proxy via Homebrew on macOS

Prevent DNS leaks on macOS by using dnscrypt-proxy. dnscrypt-proxy is available for installation via Homebrew, and comes configured to use OpenDNS servers. After installing, dnscrypt-proxy will always run in the background and encrypt all your DNS queries:

  1. Open Terminal.app (press Command+Space and type terminal and hit return).
  2. Run in Terminal app: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" and press enter/return key. Wait for the command to finish.
  3. Run in Terminal app: brew install dnscrypt-proxy and press enter/return key. Wait for the command to finish.
  4. Run a DNS leak test: click the Standard test and ensure all DNS servers are owned by opendns.com.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment