# Mac install stubby
```
brew install stubby
```
## To have launchd start stubby now and restart at startup:
```
sudo brew services start stubby
```
## Or, if you don't want/need a background service you can just run:
```
sudo stubby -C /usr/local/etc/stubby/stubby.yml
```
## Edit the config file while you dont want to use strict mode
```
# For Strict use GETDNS_AUTHENTICATION_REQUIRED
# For Opportunistic use GETDNS_AUTHENTICATION_NONE
tls_authentication: GETDNS_AUTHENTICATION_NONE
```