Last active
August 29, 2015 14:20
-
-
Save develar/8c3a9430fd6682960c83 to your computer and use it in GitHub Desktop.
dnsmasq
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 characters
brew install dnsmasq | |
sudo cp -fv $(brew --prefix dnsmasq)/*.plist /Library/LaunchDaemons | |
sudo chown root /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist | |
echo 'address=/.dev/10.211.55.5' > $(brew --prefix)/etc/dnsmasq.conf | |
sudo mkdir -v /etc/resolver | |
sudo bash -c 'echo "nameserver 127.0.0.1" > /etc/resolver/dev' | |
sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Replace 10.211.55.5 to your docker host ip.