-
Notifications
You must be signed in to change notification settings - Fork 859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need help making mDNS work #2664
Comments
#384 says Or I could be talking out of my butt. Haven't tried it. But essentially you've set up (in principle) a load-balanced mDNS with two services on your box, and that tilts my head to the left. YRMV. |
Ok, I see. I was led to believe that these lines from #384 was an indication that avahi was doing something useful:
|
To be clear, I don't specifically know that it isn't doing something useful. I just did a If you are feeling motivated you can try posting a concise CLI repro from clean Ubuntu / unadulterated Windows and see if you get a bite. |
Thanks for the clarification |
please see #384 for a concise CLI repro from WSL and native Ubuntu. |
I see #384 has been closed but this is still a problem for me. I don't mind how mDNS gets resolved in WSL, I just care that it should. Here are ground-up repro steps to make the problem clear:
Expected: it should be able to resolve the name like everything else on the network ✨ |
Even worse: once WSL resolved my rpi.local address to a random internet server address. I was SSH-ing into it and I even got a prompt for my user password... Bottom line, I accidentally sent my password to a random machine. |
@anohren I had that too, but it turned out I had my work VPN up at the time and it was finding a |
Do you mean you had vpn set up in WSL, or in windows? I don't have any vpn set up though so I doubt it. |
@anohren Windows VPN, no idea what crazy network config they had but it was making their .local addresses resolvable over regular DNS. I was just throwing that out there because there's no way a .local address should be resolvable over the public internet. |
This is still an issue on Windows 1903. |
+1! System |
Still not working in Version 10.0.17763 Build 17763 |
not working on winver 19041.1 |
Wrote how to use powershell.exe. It is not cool, but worked. |
Ref #3365 |
Hello Guys, |
Well, the m in mDNS is multicast... And I noticed there's comment in WSL2 docs about mirrored networking mode allowing multicast to work. Maybe that's what you want? https://learn.microsoft.com/en-us/windows/wsl/networking#mirrored-mode-networking ; I didn't really check if it is, but I was searching why a zeroconf name wasn't working for a host on a WSL2 instance, and this old closed issue came up and later I found that mirrored mode addressed my issue, so I thought there may be others reading this with a similar situation. |
I can't figure out how to do it. I can't ssh into my .local address because it can't resolve the name.
I also have this unanswered question on Superuser:
https://superuser.com/q/1262998/36197
I've followed the last example in this thread:
#384
In other words:
This was done after installing the packages listed in this answer.
rpi.local
can be resolved by Windows.Windows 10 Version 10.0.16299 build 16299
~$ lsb_release -a
The text was updated successfully, but these errors were encountered: