We currently have a Homebrew Tap available for Stubby - we hope to have an official formula soon.
Install Homebrew if you don't aleady have it:
2. Install the Tap using the commands below
The logging is currently crude and simply writes to a file. (We are working on making this better!) To see the logs
A quick test can be done by using dig (or your favourite DNS tool) on the loopback address
Running Stubby as a service
Running stubby like this will mean it runs continually in the background
Modify your upstream resolvers
Once this change is made your DNS queries will be re-directed to Stubby and sent over TLS!
(You may need to restart some applications to have them pick up the network settings).
For Stubby to re-send outgoing DNS queries over TLS the recursive resolvers configured on your machine must be changed to send all the local queries to the loopback interface on which Stubby is listening.
To switch to use Stubby for DNS resolution run:
To switch back to your default DNS config (no privacy) use: