I'm seeing this issue when trying to resolve mDNS names. For example I have a Raspberry PI on my network connected via Ethernet. And when I try and ping it via it's mDNS name Windows takes about 10 seconds just to resolve the name. However by using Wireshark I can confirm that the mDNS response packet takes just 1 millisecond to be received.
Then a whole 10 seconds passes before the result is returned to the ping application. That seems oddly specific. Like it's a timeout or something.
Here is a video of it in action
I've removed some other applications that were competing for port 5353 (Motu Hardware mDNS responder) and rebooted.
I don't know how to further dig into this issue. Or even what service doing the actual lookup. But I'd like to know if there is a fix for this?
Edit: There is some nbns and llmnr at the end of the 10 seconds, ie when the name resolution is reported to ping. In terms of MDNS there is a request and response at the start, obviously and then also a duplicate at the end. Another request and response for the same name. Still not clear why it's waiting so long to report the response to the user. Windows also sends a DNS request but gets no response.
Edit2: Installing windows on different hardware DOESN'T fix it. Bought a new PC and the exact same thing happens. Specifically I haven't installed things like Wireshark or Vmware yet. Which I thought might affect things.
dns || mdns || llmnr || nbns
(nbns in particular), on all interfaces not just this one.netsh int ip reset
andnetsh winsock reset
cures all manner of network oddities :p