You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All DNS response times should be around the 0.030s mark.
Actual Behavior
On average, around 1 in 70-80 DNS packets time out and require being retransmitted.
In my diagnostics I have found that the issue appears to be something between WSL and my physical NIC. Possibly in the Hyper-V virtual switch.
If I run tcpdump within WSL I can see the DNS requests going out, including the packets that don't get a response and require a retransmission. If I run Wireshark on the host machine I can see the DNS packets on the WSL interface, but the packets which appear to be getting dropped are not seen on the physical interface.
Here are two Wireshark captures. The left is capturing the vEthernet (WSL) NIC, and the right is capturing the Ethernet 2 NIC.
In the above screenshot we can see that there are two DNS requests that appear to leave the WSL distro. The first packet however never gets to the physical NIC, only the retransmission gets there.
We have tested on other machines in the office, and everyone who is on WSL2 has the same issue. However those who are on WSL1 do not appear to have this issue.
I did my best to review all the other DNS related issues, and non of them seem to be linked to this issue.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered:
Windows Version
Microsoft Windows [Version 10.0.19045.2965]
WSL Version
0.0.0.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.10.102.1
Distro Version
Ubuntu-22.04
Other Software
Docker Desktop (Windows): v4.21.1
Repro Steps
Expected Behavior
All DNS response times should be around the 0.030s mark.
Actual Behavior
On average, around 1 in 70-80 DNS packets time out and require being retransmitted.
In my diagnostics I have found that the issue appears to be something between WSL and my physical NIC. Possibly in the Hyper-V virtual switch.
If I run
tcpdump
within WSL I can see the DNS requests going out, including the packets that don't get a response and require a retransmission. If I run Wireshark on the host machine I can see the DNS packets on the WSL interface, but the packets which appear to be getting dropped are not seen on the physical interface.Here are two Wireshark captures. The left is capturing the

vEthernet (WSL)
NIC, and the right is capturing theEthernet 2
NIC.In the above screenshot we can see that there are two DNS requests that appear to leave the WSL distro. The first packet however never gets to the physical NIC, only the retransmission gets there.
We have tested on other machines in the office, and everyone who is on WSL2 has the same issue. However those who are on WSL1 do not appear to have this issue.
I did my best to review all the other DNS related issues, and non of them seem to be linked to this issue.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: