Skip to content
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

windows host dns fails after a docker build in wsl2 #10994

Open
1 of 2 tasks
fchastanet opened this issue Jan 7, 2024 · 4 comments
Open
1 of 2 tasks

windows host dns fails after a docker build in wsl2 #10994

fchastanet opened this issue Jan 7, 2024 · 4 comments
Labels

Comments

@fchastanet
Copy link

fchastanet commented Jan 7, 2024

Windows Version

Microsoft Windows [Version 10.0.22621.2861]

WSL Version

2.0.14.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.133.1

Distro Version

Ubuntu 20.04

Other Software

Google Chrome 120.0.6099.130

Repro Steps

  • build any docker image
  • open a web page in any windows browser (chrome, firefox or edge), dns is not working anymore and i receive this message
    image
  • dns randomly works again after 1 to 10 minutes
  • there is not dns issues on wsl2 only windows dns is impacted

Expected Behavior

dns resolution should work on windows host after a wsl docker build

Actual Behavior

dns resolution does not work on windows for 10 minutes host after a wsl docker build

Diagnostic Logs

I created this stackoverflow question, and I tried the suggested fixes without any success

I tried to search for similar issues, but I just found people having dns issues on wsl not on host.
Please tell me if I could provide any other kind of logs to identify the issue.

Following your guidelines I tried from windows cmd

tracert github.com

with the following result:

Tracing route to github.com [140.82.121.4]
over a maximum of 30 hops:

  1     1 ms     1 ms     1 ms  192.168.0.254
  2    18 ms    17 ms    18 ms  station11.multimania.isdnet.net [194.149.174.108]
  3     *       26 ms    26 ms  decix.proxad.net [80.81.192.223]
  4    30 ms    31 ms    49 ms  de-cix.fra.github.com [80.81.196.79]
  5     *        *        *     Request timed out.
  6     *        *        *     Request timed out.
  7    25 ms    25 ms    25 ms  lb-140-82-121-4-fra.github.com [140.82.121.4]
ping github.com
Pinging github.com [140.82.121.4] with 32 bytes of data:
Reply from 140.82.121.4: bytes=32 time=25ms TTL=250
Reply from 140.82.121.4: bytes=32 time=25ms TTL=250
Reply from 140.82.121.4: bytes=32 time=25ms TTL=250
Reply from 140.82.121.4: bytes=32 time=44ms TTL=250

Ping statistics for 140.82.121.4:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 25ms, Maximum = 44ms, Average = 29ms

logs sent by mail with the following subject "Issue #10994"

Copy link

github-actions bot commented Jan 7, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please 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. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@OneBlue OneBlue added the network label Jan 9, 2024
@chanpreetdhanjal
Copy link

Hi. Can you please collect networking logs by following the instructions below?
https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues

@fchastanet
Copy link
Author

Hello, I sent logs sent by mail to [email protected] with the following subject "Issue #10994"

@chanpreetdhanjal
Copy link

@craigloewen-msft can you share the logs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants