How to continually run mDNS on Windows 10?

Solution 1:

The final comment in the post MDNS not sending queries to the network says:

This is most likely a known windows bug regarding multicast routing. Chased this issue for a year until finally Intel and Microsoft teamed up and gave this reply:

The engineering team has investigated this multicast issue with Microsoft. Microsoft is aware there's an issue with the multicast address managed by the OS. The issue has been introduced together with Windows 10 (WDI arch for WiFi Drivers.) Any scenarios of WLAN reconnected (i.e. Airplane mode, roaming out and back into RF range, or disconnect and reconnect to the same SSID) and then the multicast packets might be affected by this issue. Currently this issue is expected to be fixed for Windows 10 Version 21H1.

Basically will multicast stop to work if your wifi has any issues. Can only be resolved by disabling/enabling the interface, reboot machine (or toggle the ipv6 setting).

The problem here is with WiFi disconnection not being reestablished automatically. This is a bug with Windows which will (hopefully) be fixed in the next Windows release in the first half of 2021.

In the meantime, you might investigate the cause for WiFi disconnections, perhaps a problem of the hardware, of the working conditions or software/firmware not being up to date. You could also try to disable IPv6 in your local network. If nothing is found or can be improved, you will need to wait for the next Windows release.