so despite my numerous attempts at getting Dnsmasq to work, I'm posting here to get some help from the community. Summary: I'm trying to get all
.local domains to automatically resolve to
brew install dnsmasq
/usr/local/etcalready existed when brew was installed, so I
Inside this I have:
address=/local/127.0.0.1 no-resolv strict-order
sudo brew services start dnsmasq
sudo mkdir /etc/resolver
sudo nano /etc/resolver/local-->
- I finally restarted my Mac.
Once restarted I opened my zsh terminal, and tried to both ping and dig
ping -c 2 test.local --> ping: cannot resolve test.local: Unknown host
dig test.local @127.0.0.1 --> connection timed out; no servers could be reached
I've tried adding
127.0.0.1 manually to the top of my DNS Servers under Network Preferences. In
dnsmasq.conf, I've also tried
address=/.local/127.0.0.1 (notice '.' in front of 'local' being the difference). Finally I've tried restarting dnsmasq:
brew services restart dnsmasq ... unfortunately, none of these helped.
Is there a step I missed or misconfigured?