Open filbotblue opened 1 year ago
Hello @filbotblue ,
Try this troubleshooting to manually set the DNS: https://gist.github.com/machuu/7663aa653828d81efbc2aaad6e3b1431#dns-resolution
You can also try this script: https://github.com/sakai135/wsl-vpnkit
The wsl-vpnkit
solved this error for me, thanks a ton!!
Describe the bug
Fedora Remix for WSL was working earlier this month, but a VPN update was introduced for Global Protect VPN which has made DNS stop working inside the WSLv2 instance. I then rebooted, and received the following error when attempting to ping google.com.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Additional context
Global Protect VPN was updated recently and the DNS seems to not resolve anymore.
Basic Troubleshooting Checklist
What other troubleshooting have you attempted?
I have disabled the VPN and the DNS started working. I have set the /etc/wsl.conf to not generate resolv.conf. This worked before, but our company updated the Global Protect VPN recently and stopped working.
Fedora Remix for WSL Version
Find: Settings->Apps->Apps & features->Fedora Remix for WSL Version->Advanced Options->Version.
Fedora Remix for WSL v36.0.5.0 - 2022-09-23
Also,
cat /etc/os-release
Windows Build
Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here:
For help on retrieving: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#check-your-build-number