Last active
November 11, 2020 20:17
-
-
Save coryf/c6f2f3f8868b158c5baf166de8bf2724 to your computer and use it in GitHub Desktop.
dev dnsmasq osx
This file contains 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
#!/bin/sh | |
brew install dnsmasq | |
echo "address=/dev3d.org/127.0.0.1" >> /usr/local/etc/dnsmasq.conf | |
sudo brew services start dnsmasq | |
sudo mkdir -p /etc/resolver | |
sudo tee /etc/resolver/dev3d.org >/dev/null <<EOF | |
nameserver 127.0.0.1 | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment