This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install `dnsmasq` and configure for *.local and *.localhost domains | |
$ brew install dnsmasq | |
$ vim /opt/homebrew/etc/dnsmasq.conf | |
# Stop and restart service as root. | |
$ brew services stop dnsmasq | |
$ sudo brew services start dnsmasq | |
$ dscacheutil -flushcache |