Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
$ sudo su -
# mkdir /etc/resolver
# cat > /etc/resolver/test
port 2155
$ brew install dnsmasq
$ dnsmasq --port=2155 --no-resolv --address=/.test/
$ ping foo.test
PING foo.test ( 56 data bytes
64 bytes from icmp_seq=0 ttl=64 time=0.022 ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment