-
Notifications
You must be signed in to change notification settings - Fork 817
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
Sudden loss of WSL2 DNS for several devs #6722
Comments
Are you using VPN? |
No, without a VPN connection. I have since removed everything related to WSL, and reinstalled/reenabled, but with no effect. Still no automatic DNS. I know that I can set the DNS manually, but this used to work flawlessly without - and I am actually more interested in finding out why it does not work than finding a workaround. |
Happened to me today, twice. |
@devbeard Can you ping IP addresses from WSL2? |
Yes, pinging ips works fine. |
On my work PC I have the same problem. In the end I found it is some security software called Symantec Endpoint Protection installed by the company, that is actively blocking all IP traffic on WSL2. https://docs.microsoft.com/en-us/windows/wsl/troubleshooting See "No internet access in WSL2", it lists products that are known to cause issues. I am not able to modify this security software (no admin privileges on machine) https://github.com/sakai135/wsl-vpnkit Hopefully I could help. |
Had same issue. Restarting fixed it, but still weird. |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Environment
Steps to reproduce
Sudden loss of DNS across multiple dev's computers in enterprise (but not all). Internet connectivity fine, but DNS resolution suddenly no longer works in WSL2.
On Windows host
Expected behavior
Since resolv.conf IP == IPv4 of host, DNS queries should work through host (port 53).
Actual behavior
DNS queries fail.
The text was updated successfully, but these errors were encountered: