Last active
May 5, 2021 17:53
Revisions
-
juliangruber revised this gist
Nov 7, 2013 . 1 changed file with 1 addition and 1 deletion.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 @@ -25,6 +25,6 @@ $ sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist Next tell OSX to use it: Go to System Preferences -> Network -> Advanced -> DNS. Now remember the dns server you already have and add two entries: `127.0.0.1` and your former dns server. -> OK -> Apply. And you're good to go! -
juliangruber revised this gist
Nov 7, 2013 . 1 changed file with 3 additions and 3 deletions.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 @@ -8,19 +8,19 @@ $ brew install dnsmasq Then create your configuration ```bash $ echo "address=/localhost/127.0.0.1" > /usr/local/etc/dnsmasq.conf ``` Now add it to your start up items: ```bash $ sudo cp -fv /usr/local/opt/dnsmasq/*.plist /Library/LaunchDaemons ``` And launch it: ```bash $ sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist ``` Next tell OSX to use it: -
juliangruber created this gist
Nov 7, 2013 .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,30 @@ First, install [dnsmasq](http://www.thekelleys.org.uk/dnsmasq/doc.html) using [brew](http://brew.sh/): ```bash $ brew update $ brew install dnsmasq ``` Then create your configuration ```bash echo "address=/localhost/127.0.0.1" > /usr/local/etc/dnsmasq.conf ``` Now add it to your start up items: ```bash sudo cp -fv /usr/local/opt/dnsmasq/*.plist /Library/LaunchDaemons ``` And launch it: ```bash sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist ``` Next tell OSX to use it: Go to System Preferences -> Network -> Advanced -> DNS. Now remember the dns server you already have and add to entries: `127.0.0.1` and your former dns server. -> OK -> Apply. And you're good to go!