-
Notifications
You must be signed in to change notification settings - Fork 840
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
WSL2 - Temporary failure in name resolution #6601
Comments
Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
This is NOT a dupe of #4277 . That issue is about not being able to connect to the internet at all when behind a VPN. This issue is about DNS not working. |
Same problem, one day suddenly DNS inside wsl2 stopped working, but pings to ips work fine |
Look at https://superuser.com/questions/1533291/how-do-i-change-the-dns-settings-for-wsl2 for a workaround. |
Hi,
I have installed WSL2 and Ubuntu 20.04 on Windows 10 (1909 - OS Build 18363.1379) and having issues with DNS. I tried the ping command
ping google.com
and got an errorping: google.com: Temporary failure in name resolution
.I did try few things but no luck
wsl --shutdown
:I have Symantec Endpoint Security and Cisco AnyConnect for VPN, I tried to connect/disconnect from VPN and that did not make any difference to dns resolution.
Finally i tried to set Ubunto distro version WSL 1 and that works fine so not sure why WSL 2 fails.
Any suggestion will be appreciated.
The text was updated successfully, but these errors were encountered: