Skip to content

Instantly share code, notes, and snippets.

@carceneaux
carceneaux / brew-dnsmasq.md
Created Aug 2, 2018 — forked from davebarnwell/brew-dnsmasq.md
install dnsmasq with brew
View brew-dnsmasq.md

Install dnsmasq and configure for *.dev.local domains

$ brew install dnsmasq
$ vim /usr/local/etc/dnsmasq.conf

Reload configuration and clear cache

# Copy the daemon configuration file into place.
$ sudo cp $(brew list dnsmasq | grep /homebrew.mxcl.dnsmasq.plist$) /Library/LaunchDaemons/
$ sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
You can’t perform that action at this time.