-
Notifications
You must be signed in to change notification settings - Fork 822
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
generateResolvConf creates nameserver with IPv6 and DNS resolution doesn't work #10810
Comments
Also impacted by this |
Could you please follow the steps below and attach the diagnostic logs? https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues |
WslLogs-2023-12-06_19-32-18.zip As requested. I have done a ping and a nslookup from WSL, while collecting. |
Please follow the networking diagnostic script. https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues It should create a folder like [WslNetworkingLogs-date_ver.zip] |
Hi, |
Can you please try it again? I had other customers successfully attach networking logs to github. |
WslNetworkingLogs-2023-12-12_09-25-50.zip Done a new capture with less app open (to reduce the size of the dump) Tnx |
I have upgraded WSL today and experiencing the same issue
The only workaround I could find for this problem was disabling IPv6 on each of my network adapters. |
hello. sorry for the delay following up on this. I recommend turning on dnsTunneling If you still encounter DNS issues after doing this, please collect a new set of networking logs thanks |
Hello, I have the same issue and wasn't able to solve it by enabling or disabling the DNS tunneling. Have any of you managed to find a better solution than to turn off ipv6 on all NICs in the system? Should I open a new issue? |
@Msprg please open a separate issue. thanks |
Windows Version
Microsoft Windows [Version 10.0.22621.2715]
WSL Version
2.0.9.0
Are you using WSL 1 or WSL 2?
Kernel Version
4.4.0-22621-Microsoft
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
I have generateResolvConf = true in /etc/wsl.conf
and /etc/resolve.conf is generate like this:
nameserver fec0:0:0:ffff::1
nameserver fec0:0:0:ffff::2
nameserver fec0:0:0:ffff::3
search lan
Expected Behavior
If manually edited, following configuration works:
nameserver 192.168.2.1
search lan
Actual Behavior
$ ping google.com
ping: google.com: Temporary failure in name resolution
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: