Manipulate local host file of VPNClient
Posted: Tue May 06, 2014 4:58 pm
Hi,
I have many Servers in my network that is connected via VPN. This means if a client establish a VPN connection there is posibility to connect to many different IP addresses in different networks via the tunnel.
it is very hard to remember all that names. But as the local client use a DNS-Server that cannot resovle that names to the IP's, i cannot currently use the dns names instead of the IP addresses. Question is now, is there any possibilty that I can script something to allow adding (export) from the DNS-Server in my VPN-Network the names and add them to the local host file of the client?
Or allow the client to ask different DNS-Servers (add a 3rd DNS-Server to network configuration) even if DHCP is enabled?
thx.
rgds.
Michael
I have many Servers in my network that is connected via VPN. This means if a client establish a VPN connection there is posibility to connect to many different IP addresses in different networks via the tunnel.
it is very hard to remember all that names. But as the local client use a DNS-Server that cannot resovle that names to the IP's, i cannot currently use the dns names instead of the IP addresses. Question is now, is there any possibilty that I can script something to allow adding (export) from the DNS-Server in my VPN-Network the names and add them to the local host file of the client?
Or allow the client to ask different DNS-Servers (add a 3rd DNS-Server to network configuration) even if DHCP is enabled?
thx.
rgds.
Michael