Summary
Sometimes multicast DNS (mDNS) on my Windows 10 desktop gets hung up and doesn't resolve the names of other devices on the network.
I am connecting to SSH and web services running on several Raspberry Pi 3 B+ devices that I've installed the avahi-daemon
on, so that they respond to mDNS requests. On a normal day, this works perfectly fine, but sometimes when I resume from sleep / hibernate in Windows 10, I get the following result.
As soon as I reboot my Windows 10 OS, mDNS magically starts working again.
PS> ssh [email protected]
ssh: Could not resolve hostname device.local: No such host is known.
PS> curl device.local:8080
curl: (6) Could not resolve host: device.local
Question ❓❓❓
Is there a way to reset the mDNS service without rebooting Windows 10 completely?
I can't find any related services except for Dnscache
.
PS> gsv | ? name -match dns
Status Name DisplayName
------ ---- -----------
Running Dnscache DNS Client
Actual Result
Hostname is not resolved
Expected Result
Hostname is resolved, and SSH and/or web connection is established.