Changing the DNS of a VPN

Adamm07x

Distinguished
Nov 2, 2010
229
0
18,710
I work for a company that does IT support for other companies. I usually end up working on VPNs. Recently a customer made a change to their VPN configuration. They now assign DNS information to the VPN adapter. I used to just put my companies internal DNS as primary and googles public as secondary. This method no longer works with the VPN update. I was wondering if there is a way to point the DNS entry they provide to a different IP. Similar to how a hosts file statically assigns an IP to a host name. I would like to point the DNS entry they give me to a different IP. Can this be done through a persistent route? If not what options do I have?
 
Why would they have any control of the vpn client. I am assuming you are on their network and connect back to your networks VPN server.

The only thing they could do is try to prevent the connection to your vpn server. Just use the ip address in the vpn client.

Once the vpn tunnel is up then all dns requests will pass through the vpn and they can not see any of them. Since your machine only talks to the 1 ip of your server and you hard code it there is no need for any dns on the other companies network.