Install dnscrypt-proxy for MacOS

1 min read

This tutorial will use DNSCrypt-Proxy and (Indonesian focused ad-and-malware-blocker integration) as DNS resolver on MacOS Catalina 10.15.5

Step 1 – Install DNSCrypt-Proxy

brew install dnscrypt-proxy

Step 2 – Download configuration from

wget -P ~/Downloads

Step 3 – Move the configuration to the default setting location

mv /usr/local/etc/dnscrypt-proxy.toml /usr/local/etc/dnscrypt-proxy-old.toml
mv Downloads/dnscrypt-proxy.toml /usr/local/etc/

Step 4 – Run the dnscrypt-proxy with the new config

sudo dnscrypt-proxy -config /usr/local/etc/dnscrypt-proxy.toml

Step 5 – Without closing the window on step 4, open new tab / terminal test resolve any DNS you like

 dnscrypt-proxy -resolve

Step 6 – If until Step 5 you have no issue whatsoever you can then setup as service and it will run whenever computer start up

sudo brew services start dnscrypt-proxy

Step 7 – Change your network preferences DNS to

That’s it. Fire up your browser! and enjoy more secured and minimal ads.