Skip to content

Instantly share code, notes, and snippets.

@coryf
Last active November 11, 2020 20:17
Show Gist options
  • Save coryf/c6f2f3f8868b158c5baf166de8bf2724 to your computer and use it in GitHub Desktop.
Save coryf/c6f2f3f8868b158c5baf166de8bf2724 to your computer and use it in GitHub Desktop.
dev dnsmasq osx
#!/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