Parallels DNS and VPN

Once in a while I run into an issue where I need to access a website local to the VPN I connect to.

When Parallels is running, I can access the internet, but the DNS for a named host local to the VPN can not be resolved.

Windows under Parallels is configured to use automatic DHCP.

The solution is to use two DNS servers: one that is obtained automatically and second coming from the VPN.

To determine the address for the DNS server that is already obtained run in Command Prompt:

ipconfig /all

This will produce the following output:

Notice that the output indicates we have auto-configuration enabled. The DNS server used in this case is 10.211.55.1.

The second DNS server will come from the VPN setting, this is an internal IP address: 192.168.3.1.

You will want to put the VPN DNS server first and the automatically obtained DNS server second. If your VPN connection is established, the first DNS server will take precedence. If not, the alternate DNS server will kick in.

Domain suffixes

If you do not want to keep adding your domain suffix in the URL, you can configure for it to be added automatically by going to “Advanced” options: