dnsmasq
.localhost domains on macOS with - Install
dnsmasq
brew install dnsmasq
- Add an address entry to point everything under
.dev
to127.0.0.1
in/usr/local/etc/dnsmasq.conf
echo "address=/.localhost/127.0.0.1" >> "$(brew --prefix)"/etc/dnsmasq.conf