Skip to content

Instantly share code, notes, and snippets.

@niladam
Created October 10, 2017 19:58
Show Gist options
  • Save niladam/a9142f0b8540591e93172b4604789f52 to your computer and use it in GitHub Desktop.
Save niladam/a9142f0b8540591e93172b4604789f52 to your computer and use it in GitHub Desktop.
DNSmasq for *.dev domains mapping

After installing dnsmasq, create a "zone file" for *.dev. Create a file /etc/dnsmasq.d/dev and add the following:

address=/dev/127.0.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment