Comments (7)
@h13World Do you maybe have TailScale installed? That was what caused the resolv.conf issues for me.
I exited tailscaled and disabled the tunnel like here after which it worked
from kwsl.
From a Windows command prompt, does ping archive.neon.kde.org
resolve?
from kwsl.
Yes it does.
>ping archive.neon.kde.org
Ping wird ausgeführt für 1613612302.rsc.cdn77.org [156.146.61.130] mit 32 Bytes Daten:
Antwort von 156.146.61.130: Bytes=32 Zeit=37ms TTL=53
Antwort von 156.146.61.130: Bytes=32 Zeit=35ms TTL=53
Antwort von 156.146.61.130: Bytes=32 Zeit=28ms TTL=53
Antwort von 156.146.61.130: Bytes=32 Zeit=28ms TTL=53
Ping-Statistik für 156.146.61.130:
Pakete: Gesendet = 4, Empfangen = 4, Verloren = 0
(0% Verlust),
Ca. Zeitangaben in Millisek.:
Minimum = 28ms, Maximum = 37ms, Mittelwert = 32ms
nslookup from the wsl distribution:
nslookup archive.neon.kde.org
;; UDP setup with fec0:0:0:ffff::1#53(fec0:0:0:ffff::1) for archive.neon.kde.org failed: invalid file.
;; UDP setup with fec0:0:0:ffff::1#53(fec0:0:0:ffff::1) for archive.neon.kde.org failed: invalid file.
;; UDP setup with fec0:0:0:ffff::1#53(fec0:0:0:ffff::1) for archive.neon.kde.org failed: invalid file.
;; UDP setup with fec0:0:0:ffff::2#53(fec0:0:0:ffff::2) for archive.neon.kde.org failed: invalid file.
;; UDP setup with fec0:0:0:ffff::3#53(fec0:0:0:ffff::3) for archive.neon.kde.org failed: invalid file.
After I add the hostname config to the /etc/hosts file the ping from the wsl distribution succeeds
156.146.61.130 archive.neon.kde.org. archive.neon.kde.org
from kwsl.
Can you temporarily disable IPv6 in Windows?
;; UDP setup with fec0:0:0:ffff::3#53(fec0:0:0:ffff::3) for archive.neon.kde.org failed: invalid file.
This indicates you have IPv6 DNS set in Windows, but the DNS server is not replying to IPv6 queries.
from kwsl.
Sorry for the late reply.
I tried to disable IPv6 in Windows, but I even if I manually set the IPv4 DNS and disable IPv6 DNS at my ethernet adapter it still isn't able to resolve the hostnames.
I found out that I have the problem in all wsl distributions and it is an issue with my client and not an error in kWSL.
The file /etc/resolv.conf in all distributions:
nameserver fec0:0:0:ffff::1
nameserver fec0:0:0:ffff::2
nameserver fec0:0:0:ffff::3
When I edit /etc/wsl.conf and change the parameter generateResolvConf to false and then create the file /etc/resolv.conf myself with the IPv4-DNS then the hostname resolution works again as it should.
Tried to do the same in kWSL (Change parameter in dist/etc/wsl.conf and create dist/etc/resolv.conf), but here I still have the same problem. Am I missing something or is this resolution not possible in kWSL?
from kwsl.
@NullDev thank you very much for the hint. TailScale caused the issue for me also.
But I was able to resolve the issue differently. I didn't disable the tunnel, I just disabled IPv6 in configuration.
What I still don't fully understand is why I don't have the same problem with another client that also has TailScale installed.
from kwsl.
Interesting! Its good to know that disabling IPv6 instead of the entire tunnel is sufficient because I was afraid of re-enabling it so far 😅
from kwsl.
Related Issues (20)
- Errors during installation HOT 4
- YouTube Buffering? HOT 19
- Cannot Disable Screen Lock HOT 1
- Possibility to run single linux apps with native titlebars? HOT 1
- Blue Screen under Windows 11 HOT 19
- Cant install HOT 2
- WSL drive mount issue HOT 17
- Not able to point the RDP file to new WSL2 instance HOT 4
- New version xRDP & GCC error HOT 14
- Log Out on kWSL does not terminate anything HOT 1
- Can't install, ton of errors. HOT 1
- 22.04 Upgrade? HOT 7
- Fresh install error and stuck on "Select Runlevel and hit Enter" -loop HOT 1
- WSL2 Version + 22.04 Rebase HOT 1
- Recent activity HOT 2
- Error loop when running install script HOT 1
- xRDP Problem: Missing text, wrong window size HOT 2
- Plasmashell won't start after kwsl reinstall HOT 2
- File dialog broken on chrome HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kwsl.