You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your Windows build number: (Type ver at a Windows Command Prompt)
Microsoft Windows [Version 10.0.15063]
What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)
Using a WiFi to connect to internet, then use a VPN (like AnyConnect) to dial into company private net.
Then use nslookup to see effective DNS server:
However, /etc/resolv.conf shows that this dns server is not the first one.
So some queries which only 10.20.0.98 can answer is failed.
What's wrong / what should be happening instead:
WSL use the same dns order like windows
The text was updated successfully, but these errors were encountered:
If you are connected to a VPN and lose connectivity within bash, please try the workaround posted here. It should work for Creators Update and above. Post Fall Creators Update, we will be looking at a better support for other VPN solutions.
Thanks to @bradley101, who first pointed out the workaround. Also, marking this duplicate of #1350
Your Windows build number: (Type
ver
at a Windows Command Prompt)Microsoft Windows [Version 10.0.15063]
What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)
Using a WiFi to connect to internet, then use a VPN (like AnyConnect) to dial into company private net.
Then use
nslookup
to see effective DNS server:However,
/etc/resolv.conf
shows that this dns server is not the first one.So some queries which only 10.20.0.98 can answer is failed.
What's wrong / what should be happening instead:
WSL use the same dns order like windows
The text was updated successfully, but these errors were encountered: