Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

TimKuhl's avatar

How to turn "on" the DNSMasq in Herd?

I see DNSMasq with a gray dot instead of green dot. How to turn it on? Here is the screenshot:

i.imgurdotcom/32Y4dXb.png

And here is the error message I obtain if I click on the icon to the right:

i.imgurdotcom/dZURgIc.png

Replace dot with . in the links.

0 likes
5 replies
thenightowl's avatar

It means you already have a DNS service running on that port., please whatever service you are using and restart herd.

fyrefli's avatar

Any update here? I have the same issue.

Cruorzy's avatar

@fyrefli DNS needs for port 53 to be available, good chance your device already uses that port for the OS to resolve DNS.

I assume you use MacOS, i do not have any experience with that but a quick google search resolves on https://apple.stackexchange.com/questions/369968/what-is-bound-at-port-53-of-localhost-and-how-to-stop-that-service

Be aware for what you kill to get this working, again no idea what a Mac does with 53 specifically but instantly killing it might not be the best option i assume.

1 like
Cibsmart's avatar

@Cruorzy – I am on a Mac machine. For me, it was dnsmasq installed via homebrew that was using the port. I simply killed the process and uninstalled it to allow the version that shipped with Herd to work. Thank you for you direction.

magissolutions's avatar

@Cibsmart thank you! It was the same cause in my case. For anyone else encountering this, just do:

sudo brew services stop dnsmasq

Then click "Stop All" in the Herd dropdown and click "Start all" to restart all services including dnsmasq

Please or to participate in this conversation.