Change the order of DNS lookup when connected in the VPN

domain-name-systemvpnwindows 7

Using Windows 7 Pro here.

I have my LAN network adapter with DNS server 8.8.8.8 (Google's DNS). I also have OpenVPN client to connect to my company's network.

If I type "nslookup" while disconnected from the VPN, I get 8.8.8.8 (from my LAN network adapter). If I type "nslookup" while connected in the VPN, I get the DNS IP from my company's network.

That makes me think that when connected to the VPN all DNS's resolution are routed first to my company's DNS.

How can I change this order, and make the DNS resolution be routed to 8.8.8.8 first, when I'm connected to the VPN?

Thank you

Best Answer

Found it. Network and sharing centre -> Change adapter settings -> Advanced -> Advanced settings -> move your connections up and down in the first/upper box.

Related Topic