VMware Communities
eamonnr
Contributor
Contributor

DNS responses failing to reach guest on bridged network adaptor

Hi,

I have Workstation 15 pro (15.5.2) installed on Windows 10 (1803). I have multiple guests of different OS' running, all having the same issue.

Capturing network traffic, I can see the DNS requests going out, but no responses coming back. Running nslookup on the guests results in a "DNS request timed out", regardless of which DNS server is specified. The host has no DNS issues and when I switch the guests to NAT everything works fine but I need to bridge. This started happening after I installed the most recent update. I tried re-installing, made no difference.

Any thoughts or insights appreciated.

Thanks,

Eamonn

Reply
0 Kudos
10 Replies
louyo
Virtuoso
Virtuoso

Some questions:

What is result of ipconfig/all on host and a Windows guest (one that fails)?

Can you ping by IP address? (ping 8.8.8.8)?

Have you flushed the DNS ( ipconfig /flushdns in Windows)?

Reply
0 Kudos
eamonnr
Contributor
Contributor

I can ping by IP Address perfect. I also had tried flushing the DNS resolver cache but to no avail. This will even happen on a fresh install.

IP config from the guest:

Windows IP Configuration

   Host Name . . . . . . . . . . . . : hostname

   Primary Dns Suffix  . . . . . . . :

   Node Type . . . . . . . . . . . . : Hybrid

   IP Routing Enabled. . . . . . . . : No

   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Ethernet0:

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : Intel(R) 82574L Gigabit Network Connection

   Physical Address. . . . . . . . . : 00-0C-29-72-1A-66

   DHCP Enabled. . . . . . . . . . . : Yes

   Autoconfiguration Enabled . . . . : Yes

   Link-local IPv6 Address . . . . . : fe80::45a2:1718:4396:9ac9%14(Preferred)

   IPv4 Address. . . . . . . . . . . : 192.168.8.191(Preferred)

   Subnet Mask . . . . . . . . . . . : 255.255.255.0

   Lease Obtained. . . . . . . . . . : Wednesday, April 8, 2020 3:01:28 PM

   Lease Expires . . . . . . . . . . : Friday, April 10, 2020 12:04:06 AM

   Default Gateway . . . . . . . . . : 192.168.8.1

   DHCP Server . . . . . . . . . . . : 192.168.8.1

   DHCPv6 IAID . . . . . . . . . . . : 218106921

   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-26-18-0A-8B-00-0C-29-72-1A-66

   DNS Servers . . . . . . . . . . . : 192.168.8.1

   NetBIOS over Tcpip. . . . . . . . : Enabled

From the host:

Windows IP Configuration

   Host Name . . . . . . . . . . . . : hostname

   Primary Dns Suffix  . . . . . . . : domain nane

   Node Type . . . . . . . . . . . . : Hybrid

   IP Routing Enabled. . . . . . . . : No

   WINS Proxy Enabled. . . . . . . . : No

   DNS Suffix Search List. . . . . . : domains

Ethernet adapter Ethernet:

   Media State . . . . . . . . . . . : Media disconnected

   Connection-specific DNS Suffix  . : domain name

   Description . . . . . . . . . . . : Intel(R) Ethernet Connection (2) I219-LM

   Physical Address. . . . . . . . . : 3C-52-82-08-D7-46

   DHCP Enabled. . . . . . . . . . . : Yes

   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Ethernet 4:

   Media State . . . . . . . . . . . : Media disconnected

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : Realtek USB GbE Family Controller

   Physical Address. . . . . . . . . : 10-62-E5-F1-56-83

   DHCP Enabled. . . . . . . . . . . : Yes

   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Npcap Loopback Adapter:

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : Npcap Loopback Adapter

   Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50

   DHCP Enabled. . . . . . . . . . . : Yes

   Autoconfiguration Enabled . . . . : Yes

   Link-local IPv6 Address . . . . . : fe80::9c1b:a3e2:181d:beed%26(Preferred)

   Autoconfiguration IPv4 Address. . : 169.254.190.237(Preferred)

   Subnet Mask . . . . . . . . . . . : 255.255.0.0

   Default Gateway . . . . . . . . . :

   DHCPv6 IAID . . . . . . . . . . . : 1174536268

   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-23-1F-DC-06-3C-52-82-08-D7-46

   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1

                                       fec0:0:0:ffff::2%1

                                       fec0:0:0:ffff::3%1

   NetBIOS over Tcpip. . . . . . . . : Enabled

Wireless LAN adapter Local Area Connection* 1:

   Media State . . . . . . . . . . . : Media disconnected

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter

   Physical Address. . . . . . . . . : F0-D5-BF-13-60-06

   DHCP Enabled. . . . . . . . . . . : Yes

   Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Local Area Connection* 2:

   Media State . . . . . . . . . . . : Media disconnected

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter #2

   Physical Address. . . . . . . . . : F2-D5-BF-13-60-05

   DHCP Enabled. . . . . . . . . . . : Yes

   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter VMware Network Adapter VMnet1:

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1

   Physical Address. . . . . . . . . : 00-50-56-C0-00-01

   DHCP Enabled. . . . . . . . . . . : No

   Autoconfiguration Enabled . . . . : Yes

   Link-local IPv6 Address . . . . . : fe80::5c50:3553:fad2:4862%23(Preferred)

   IPv4 Address. . . . . . . . . . . : 192.168.5.1(Preferred)

   Subnet Mask . . . . . . . . . . . : 255.255.255.0

   Default Gateway . . . . . . . . . :

   DHCPv6 IAID . . . . . . . . . . . : 385896534

   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-23-1F-DC-06-3C-52-82-08-D7-46

   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1

                                       fec0:0:0:ffff::2%1

                                       fec0:0:0:ffff::3%1

   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VMware Network Adapter VMnet8:

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8

   Physical Address. . . . . . . . . : 00-50-56-C0-00-08

   DHCP Enabled. . . . . . . . . . . : No

   Autoconfiguration Enabled . . . . : Yes

   Link-local IPv6 Address . . . . . : fe80::6937:bd9d:7008:fa95%30(Preferred)

   IPv4 Address. . . . . . . . . . . : 192.168.91.1(Preferred)

   Subnet Mask . . . . . . . . . . . : 255.255.255.0

   Default Gateway . . . . . . . . . :

   DHCPv6 IAID . . . . . . . . . . . : 503337046

   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-23-1F-DC-06-3C-52-82-08-D7-46

   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1

                                       fec0:0:0:ffff::2%1

                                       fec0:0:0:ffff::3%1

   NetBIOS over Tcpip. . . . . . . . : Enabled

Wireless LAN adapter WiFi:

   Connection-specific DNS Suffix  . :

   Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 8260

   Physical Address. . . . . . . . . : F0-D5-BF-13-60-05

   DHCP Enabled. . . . . . . . . . . : Yes

   Autoconfiguration Enabled . . . . : Yes

   IPv4 Address. . . . . . . . . . . : 192.168.8.101(Preferred)

   Subnet Mask . . . . . . . . . . . : 255.255.255.0

   Lease Obtained. . . . . . . . . . : Thursday, April 9, 2020 10:23:59 AM

   Lease Expires . . . . . . . . . . : Friday, April 10, 2020 10:24:00 AM

   Default Gateway . . . . . . . . . : 192.168.8.1

   DHCP Server . . . . . . . . . . . : 192.168.8.1

   DNS Servers . . . . . . . . . . . : 192.168.8.1

   NetBIOS over Tcpip. . . . . . . . : Enabled

Thanks,

Eamonn

Reply
0 Kudos
louyo
Virtuoso
Virtuoso

I don't see anything wrong, perhaps your router is dropping the ball on DNS from a VM. What happens if you put 8.8.8.8 (Google), or your ISP's DNS server in for a static DNS server?

Lou

Reply
0 Kudos
eamonnr
Contributor
Contributor

It's the same result no matter what DNS server is used. I've tried 8.8.8.8 and even configured a local DNS server in case there was a break down somewhere which was causing the timeouts.

What I'm seeing now is one in maybe 10/15 dns requests are getting through, again the same behaviour no matter which DNS server is being used. I'm really at a loss here

Cheers,

Eamonn

Reply
0 Kudos
louyo
Virtuoso
Virtuoso

>I'm really at a loss here

Sorry, me too. I am still on 14 here, have never seen a case like that.

Edit: sorry for the bad paste.

Reply
0 Kudos
mahaf
Contributor
Contributor

think i had the same issue, and my workaround was to go back to version 15.

I was searching around and was not able to get this working with 15.5, i also don´t know what exactly causing this, driver, mtu etc.

Cheers mahaf

Reply
0 Kudos
jeffreytk
Contributor
Contributor

I just had this happen after a Windows10 update.

I did a ping on a Linux guest and saw duplicate packets reported by ping.

I started the Windows service "Routing and Remote Access" on the host OS which I have set to manual startup from other advice about the duplicate packets.

I then stopped this service. The duplicates stopped and DNS started working. Seems, as written elsewhere, starting this service and then stopping it a short time after is required when the duplicate packets are noticed. So now I know a DNS issue seems to go along with this network issue.

Reply
0 Kudos
RiccardoCZ
Contributor
Contributor

Hi I have the same problem that you have described... more or less. My scenario is this: I start more than one VM and all is working fine... after some time (hours) the DNS fails (I'm using NAT). I can ping from the VMs 1.1.1.1 or 8.8.8.8 but never happen with the DNS: the "nslookup www.google.com" fails.

I have tried to put in manual or automatic mode the DNS on the VM without result.

In these conditions my only otion is to restart the PC (the VMs ins't enough), I'm using VPN ma I don't thing is the case.

At the end did you find a solution?

I'm using VMWare Workstation v.17.5 wit Windows 11 Pro Host and Windows 10 Pro VMs.

Thanks

Riccardo

Reply
0 Kudos
jeffreytk
Contributor
Contributor

@RiccardoCZI have since replaced the system where I had this issue and am running on a fresh Windows 11 Pro install with VMWare Workstation 17.5 and don't see any issue.

The only other key difference is that did not enable routing on my host this time around.

Other than a reinstall from scratch, I'd try to "Restore Defaults" in the "Virtual Network Editor" (after noting your customizations so you can redo those).

One other thing I'd try is to disable, then enable, the physical interface on the host.

Reply
0 Kudos
jeffreytk
Contributor
Contributor

@sass543Are you seeing duplicate packets too? From a Linux guest OS, ping the default gateway. Ping should alert you to duplicate packets, if present.

Is your host OS Windows? If so, stop the Windows service "Routing and Remote Access" on the host OS, or, start that service, then stop it.

Recheck the ping and see that the duplicate packets stop. DNS should also start working.

Reply
0 Kudos