Revisions
-
sstephenson created this gist
Jan 8, 2011 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ $ sudo su - # mkdir /etc/resolver # cat > /etc/resolver/test nameserver 127.0.0.1 port 2155 ^D ^D $ brew install dnsmasq $ dnsmasq --port=2155 --no-resolv --address=/.test/127.0.0.1 $ ping foo.test PING foo.test (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.022 ms