Skip to content

Instantly share code, notes, and snippets.

@satanTime
Created November 3, 2016 11:17
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 satanTime/cc99a25acf42a383bf744834c387db15 to your computer and use it in GitHub Desktop.
Save satanTime/cc99a25acf42a383bf744834c387db15 to your computer and use it in GitHub Desktop.
Configuration for dnsmasq to catch all dev domains and direct requests to local address
no-resolv
address=/dev/172.16.0.1
listen-address=172.16.0.1
@satanTime
Copy link
Author

cat /etc/resolver/dev
nameserver 172.16.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment