WSL 2 Ubuntu 20.04.6 LTS unable to resolve dns name #11525
Unanswered
fco-code-org
asked this question in
General
Replies: 2 comments 1 reply
-
Hello, Any reply ? solution? Best Regards. |
Beta Was this translation helpful? Give feedback.
0 replies
-
So, there might be a new problem with WSL networking: #11512. The steps you describe used to work for me until 5-10 days ago. Are you on a company VPN or using Cisco AnyConnect or similar? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
nslookup www.google.com
I got: ;; connection timed out; no servers could be reached
I have read a lot of thing about this , /etc/wsl.conf in order to keep the nameserver settings, delete the symbolic link and recreate the /etc/resolv.conf with nameserver entries and make it permanent with chattr +i apply on it.
None of what I read over internat has worked for me :-(
More this problem seems quite random. On one PC it works and on another one it doesn't work even with the same wsl and Ubuntu version.
Could it be due to an interaction between WLS/Ubuntu network stack and Windows 10 network stack ?
One of the try I made which didn't work was:
[network]
generateResolvConf=false
Is there somewhere a step by step solution description to fix this issue ?
Best Regards.
Beta Was this translation helpful? Give feedback.
All reactions