-
Notifications
You must be signed in to change notification settings - Fork 821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Able to nslookup .local
address but Unable to ping
#12224
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
|
/emailed-logs |
Diagnostic information
|
Windows Version
Microsoft Windows [Version 10.0.19045.4780]
WSL Version
2.3.24.0
Are you using WSL 1 or WSL 2?
Kernel Version
Linux version 5.15.153.1-microsoft-standard-WSL2 (root@941d701f84f1) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37) #1 SMP Fri Mar 29 23:14:13 UTC 2024
Distro Version
Ubuntu 24.04
Other Software
No response
Repro Steps
Assume the hostname is
foo
.After upgrading Ubuntu from 22.04.5 to 24.04.1:
ping foo.local
in wslExpected Behavior
should ping IP like
172.18.160.1
Actual Behavior
curl cannot use
foo.local
as proxy:$ curl 'https://api.ipify.org?format=json' curl: (5) Could not resolve proxy: foo.local
if removed
https_proxy
env, curl can visit internet:But
dig
works fine:nslookup
too:Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: