DNS resolve not working on virtualbox VM when VPN is switched on host
Posted: 19. Mar 2022, 09:33
I have Windows 10 host and Ubuntu Server guest vm on Virtualbox. I have OpenVPN client on the Windows host. The guest vm is set to NAT network(not NAT) type.
Whenever the vpn-client is switched on, traffic from host gets routed via server the OpenVPN client has connected to. But I immediately lose DNS lookup/resolve in the guest VM (Internet works fine in both guest vm & host, but dns resolve fails in my guest vm)
If VPN client is off, everything (internet, dns lookup) works fine in my host, guest VM.
Any suggestions on how to mitigate this?
Edit:
VirtualBox version: 6.1.32
Guest additions installed, Using Intel VT-X
Adapter: Intel PRO/1000 MT Desktop
Promiscuous mode: Deny
Whenever the vpn-client is switched on, traffic from host gets routed via server the OpenVPN client has connected to. But I immediately lose DNS lookup/resolve in the guest VM (Internet works fine in both guest vm & host, but dns resolve fails in my guest vm)
If VPN client is off, everything (internet, dns lookup) works fine in my host, guest VM.
Any suggestions on how to mitigate this?
Edit:
VirtualBox version: 6.1.32
Guest additions installed, Using Intel VT-X
Adapter: Intel PRO/1000 MT Desktop
Promiscuous mode: Deny