Skip to content

Instantly share code, notes, and snippets.

View alexbrownphotobox's full-sized avatar
🏠
Working from home

Alex Brown alexbrownphotobox

🏠
Working from home
View GitHub Profile
@davebarnwell
davebarnwell / brew-dnsmasq.md
Last active March 3, 2026 22:10
install dnsmasq with brew

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