using dnsmasq on mac os for local development - christopherBANCK
banck.net › 2018 › 12Dec 14, 2018 · The most convenient way to install dnsmasq on mac is brew: brew install dnsmasq. The next step is to configure dnsmasq and start it. We do let dnsmasq only listen on the loopback interface and run on a none standard port 5354: echo "listen-address=127.0.0.1" >> $(brew --prefix)/etc/dnsmasq.conf echo "port=5354" >> $(brew --prefix)/etc/dnsmasq.conf sudo brew services start dnsmasq
Setup dnsmasq on Mac OS X · GitHub
https://gist.github.com/petemcw/926582122.12.2021 · Setup dnsmasq on Mac OS X Raw brew-instructions.sh # Install `dnsmasq` and configure for *.dev domains $ brew install dnsmasq $ vim /usr/local/etc/dnsmasq.conf # Reload configuration and clear cache $ sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist $ sudo launchctl load …
Using dnsmasq on MacOS to setup a local domain for ...
firxworx.com › blog › it-devopsThe above commands simply append the required lines to the dnsmasq.conf configuration file. Next, use brew’s services feature to start dnsmasq as a service. Use sudo to ensure that it is started when your Mac boots, otherwise it will only start after you login: sudo brew services start dnsmasq Add a resolver. Add a resolver for .test TLD’s: