Genymotion not resolving domain names

I have been on a journey today, knee deep in Windows 10 / genymotion / virtualbox networking. Most of which I didn’t really understand.

The problem I had was that since my move to a new Windows 10 laptop my genymotion device hasn’t been able to ping any address within the network at the other end of my VPN connection.

I’ve tried many “solutions” to do with changing how the genymotion device talks to my host operating system.

It turned out to be a problem with how Windows 10 deals with DNS requests. The solution is (as is usually the case) very simple. If you change the metrics of your network connections, so the VPN metric is lower than the ethernet metric. I’ve set my IPv4/IPv6 metric to 11 and my ethernet to 15.

Go to Control Panel > Network and Internet > Network Connections, right click the relevant network connections, select Properties (for IPv4 and IPv6), select the Networking tab then click the advanced button, uncheck “Automatic metric” and put the relevant value in there.

Network Interface Metric

I hope this saves you from taking the same soul destroying journey as I’ve just had to take!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s