Last active
July 13, 2016 20:10
-
-
Save jonathanbardo/13f7f01879d1a2f3cac267218753fdea to your computer and use it in GitHub Desktop.
dnsmasq setup on mac os x 10.11
This file contains 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
# using .domain to 127.0.0.1 | |
echo 'address=/.domain/127.0.0.1' >> /usr/local/etc/dnsmasq.conf | |
# make sure the file name in /etc/resolver is the same as your domain | |
sudo bash -c 'echo "nameserver 127.0.0.1" > /etc/resolver/domain' | |
# restart dnsmasq | |
sudo brew services restart dnsmasq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment