WSL icon indicating copy to clipboard operation
WSL copied to clipboard

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

Open ktrNozomi opened this issue 3 years ago • 10 comments

Version

Microsoft Windows [Version 10.0.22621.963]

WSL Version

  • [ ] WSL 2
  • [ ] WSL 1

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 avatar Jan 10 '23 17:01 ktrNozomi

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

ktrNozomi avatar Jan 10 '23 17:01 ktrNozomi

Closing since the issue was solved

OneBlue avatar Jan 17 '23 22:01 OneBlue

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

vighnesh153 avatar Sep 26 '23 07:09 vighnesh153

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

harryob2 avatar Oct 06 '23 20:10 harryob2

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

chamalkaMarasinghe avatar Dec 19 '23 13:12 chamalkaMarasinghe

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

Zenitugo avatar Jan 24 '24 16:01 Zenitugo

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.

larry100y avatar Mar 09 '24 16:03 larry100y

wsl is not getting installed after using clash for windows too

rishav0821 avatar Aug 07 '24 16:08 rishav0821

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

ft-scobra avatar Sep 13 '24 09:09 ft-scobra

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.

Also solved in my host

jercylew avatar Jan 05 '25 13:01 jercylew