microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.31k stars 814 forks source link

Installation reported "The server name or address could not be resolved" #9470

Closed ktrNozomi closed 1 year ago

ktrNozomi commented 1 year ago

Version

Microsoft Windows [Version 10.0.22621.963]

WSL Version

Kernel Version

NULL

Distro Version

NULL

Other Software

NULL

Repro Steps

image

Expected Behavior

It should be installed automatically.

Actual Behavior

image

Diagnostic Logs

No response

ktrNozomi commented 1 year ago

It's solved by enabling system proxy in Clash for Windows, I don't know why...

OneBlue commented 1 year ago

Closing since the issue was solved

vighnesh153 commented 1 year ago

Clash can be downloaded from here: https://www.clashforwindows.net/clash-for-windows-download/

harryob2 commented 12 months ago

thank you @ktrNozomi @vighnesh153 , such a weird issue lol. any theories as to why this works?

chamalkaMarasinghe commented 9 months ago

Both of you saved my 1 or 2 days in life : @ktrNozomi @vighnesh153 - (worked for windows 11 pro 22H2)

Zenitugo commented 8 months ago

Thank you so much @ktrNozomi and @vighnesh153. I wish I could hug you both right now.

larry100y commented 6 months ago

I configure my DNS to 114.114.114.114 and 8.8.8.8 (you may need ipconfig /flushdns), then hostname can be resolved. My ISP is ChinaTelecom.

rishav0821 commented 1 month ago

wsl is not getting installed after using clash for windows too

ft-scobra commented 3 weeks ago

@ktrNozomi @vighnesh153 Thanks a lot! I couldn't find a solution anywhere before this.