Skip to content

Instantly share code, notes, and snippets.

@jonathanbardo
Last active July 13, 2016 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathanbardo/13f7f01879d1a2f3cac267218753fdea to your computer and use it in GitHub Desktop.
Save jonathanbardo/13f7f01879d1a2f3cac267218753fdea to your computer and use it in GitHub Desktop.
dnsmasq setup on mac os x 10.11
# 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