Skip to content

Instantly share code, notes, and snippets.

@frak
Last active August 29, 2015 13:59
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 frak/10907301 to your computer and use it in GitHub Desktop.
Save frak/10907301 to your computer and use it in GitHub Desktop.
Setting up dnsmasq to point *.dev to your dev VM
sudo port install dnsmasq
sudo port load dnsmasq
# add "address=/dev/your.vm.ip.address" to the end of /opt/local/etc/dnsmasq.conf
sudo mkdir -p /etc/resolver
sudo tee /etc/resolver/dev >/dev/null <<EOF
nameserver 127.0.0.1
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment