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:
- Open Terminal.app (press
- 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.
- Run in Terminal app: brew install dnscrypt-proxy and press enter/return key. Wait for the command to finish.
- Run a DNS leak test: click the Standard test and ensure all DNS servers are owned by