Change the order of DNS lookup when connected in the VPN

Posted by qwerty2010 on Server Fault See other posts from Server Fault or by qwerty2010
Published on 2010-07-23T13:38:51Z Indexed on 2010/12/25 8:55 UTC
Read the original article Hit count: 377

Filed under:
|
|
|

Hi,

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

© Server Fault or respective owner

Related posts about dns

Related posts about windows-7