Skip to content

Instantly share code, notes, and snippets.

@weivall
Created March 18, 2019 10:50
Show Gist options
  • Save weivall/34a15775d764ee9ed6aa4a3e2a35107b to your computer and use it in GitHub Desktop.
Save weivall/34a15775d764ee9ed6aa4a3e2a35107b to your computer and use it in GitHub Desktop.
dnsmasq
brew install dnsmasq
sudo echo 'address=/.test/127.0.0.1' >> /usr/local/etc/dnsmasq.conf
sudo mkdir -p /etc/resolver
echo 'nameserver 127.0.0.1' | sudo tee /etc/resolver/test
sudo brew services restart dnsmasq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment