Created
March 18, 2019 10:50
-
-
Save weivall/34a15775d764ee9ed6aa4a3e2a35107b to your computer and use it in GitHub Desktop.
dnsmasq
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
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