-
Notifications
You must be signed in to change notification settings - Fork 824
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
mDNS does not work with mirrored network mode #11852
Comments
View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
Diagnostic information
|
Same issue here WSL2 Ubuntu |
I have the same issue. A fix would be appreciated. |
thanks for reporting the issue we have updated the docs to include details about how to resolve .local names in WSL. Please refer to https://learn.microsoft.com/en-us/windows/wsl/troubleshooting#resolve-local-names-in-wsl let us know if you have any questions |
I tried the configuration with libnss-mdns and nsswitch.conf from the docs but it does not work. Is there something else I can provide? |
@lprobsth thanks for following up if you still encounter issues after confirming the above, please collect networking logs using instructions at https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues |
I have installed WSL build 2.3.17. The problem seems to persist. Here is the log file. The networking log script did not create an archive - so I zipped the output from the log directory. I hope this is correct. |
Diagnostic information
|
@lprobsth thanks the logs don't show mdns traffic being sent by Linux could you please collect and share the output of "sudo strace ping server.local" ? that might give us a hint on why no mdns requests are sent |
Windows Version
Microsoft Windows [Version 10.0.22631.3880]
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
Expected Behavior
WSL2 should correctly resolve the local / mDNS hostname to the correct IP address:
Actual Behavior
The mDNS hostname is not resolved:
Diagnostic Logs
WslLogs-2024-07-29_18-57-01.zip
The text was updated successfully, but these errors were encountered: