To install unbound you can use homebrew $ brew install unbound ldns Now we can edit the configuration file of unbound which by default is located in /usr/local/etc/unbound/unbound.conf: