local-dev icon indicating copy to clipboard operation
local-dev copied to clipboard

Loopback interface can be omitted

Open goofrider opened this issue 1 year ago • 1 comments

If you're using the loopback interface just for dnsmasq, maybe you can consider just use a different port for dnsmasq (e.g. 5353).

You can specify the port number to connect to dnsmasq in /etc/resolver/test like so:

nameserver 127.0.0.1
port 5353

I used to use a loopback interface for dnsmasq as well but I found it a bit flaky, as it fails to start from time to time. I haven't had any issues since I omitted the loopback interface. Been running dnsmasq on my Mac without issues for years with this method.

goofrider avatar Jun 14 '23 16:06 goofrider

Thanks @goofrider, I will try this when I get a chance.

tbreuss avatar Jun 17 '23 08:06 tbreuss