- Install DNSMasq
 
$ brew install dnsmasq- Install DNSCrypt-proxy
 
$ brew install dnscrypt-proxy- 
Configure
 - 
/usr/local/etc/dnsmasq.conf ⬇
 - 
/Library/LaunchDaemons/homebrew.mxcl.dnscrypt-proxy.plist ⬇
 - 
/Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist ⬇
 - 
Reload
dnscrypt-proxyservice$ cd /Library/LaunchDaemons/ $ sudo launchctl unload homebrew.mxcl.dnscrypt-proxy.plist && sudo launchctl load homebrew.mxcl.dnscrypt-proxy.plist
 - 
Reload
dnsmasqservice$ sudo launchctl unload homebrew.mxcl.dnsmasq.plist && sudo launchctl load homebrew.mxcl.dnsmasq.plist - 
Set DNS IP: 127.0.0.1
 
$ scutil --dns...
resolver #1
  search domain[0] : openvpn
  nameserver[0] : 127.0.0.1
  flags    : Request A records, Request AAAA records
  reach    : Reachable,Local Address
...
$ nslookup -type=txt debug.opendns.comServer:     127.0.0.1
Address:    127.0.0.1#53
Non-authoritative answer:
debug.opendns.com	text = "server 7.ams"
debug.opendns.com	text = "flags 20 0 2f4 800000000000000"
debug.opendns.com	text = "id 0"
debug.opendns.com	text = "source xxx.xxx.xxx.xxx:xxxxx"
debug.opendns.com	text = "dnscrypt enabled (xxxxxxxxxxxxxxxx)"
Authoritative answers can be found from: