Skip to content

Instantly share code, notes, and snippets.

View billylaing's full-sized avatar

Billy Laing billylaing

View GitHub Profile
#!/usr/bin/env bash
# install dnsmasq
brew install dnsmasq
# add localhost TLD
echo "address=/localhost/127.0.0.1" >> /usr/local/etc/dnsmasq.conf
# add resolver for localhost
sudo mkdir /etc/resolver