$ bash <(curl -Ls https://gist.githubusercontent.com/mshick/414612f1f5426242d4fa0744d509a82a/raw/dnsmasq-setup.sh)
sudo
permissions are required
This will configure a homebrew installed dnsmasq
service with .test
and .localhost
TLDs, and will add the LaunchDaemon to your system startup.
dnsmasq is a small utility which allows you (among other things) to create dynamic local hostnames and TLDs. This is useful for developers who need something other than http://localhost
for local projects.