Link to home
Start Free TrialLog in
Avatar of CareConnect
CareConnect

asked on

Automatic DNS assignment on a VPN client

How can I force a DNS entry in a VPN client WITHOUT having to edit the local “host file” and “manually put a "DNS IP” in the VPN client connection?
Or how does the VPN server assign a DNS to a client once connected?
Reason being that once a client is connected it dosent get the DSN entry from the VPN server automaticly. The VPN is propertly configured and has a propper DNS
Thank you
Avatar of Fatal_Exception
Fatal_Exception
Flag of United States of America image

That depends..  what are you using as a VPN concentrator?
Avatar of carl_legere
carl_legere

agreed.  Do you have control over what IP address the vpn client gets from the connection via auto-assignment?
Avatar of Tim Holman
Based on your other post, I am assuming you are using a CheckPoint client/VPN router. If so you should be able to configure DNS within the Checkpoint router for the clients. The Windows DHCP server will not pass on DNS entries to VPN clients as a rule.
A couple of other thoughts:
-You can also manually add the remote DNS server to your local DNS servers in your network card's TCP/IP configuration
-Test if you can connect with the full computer and domain name as  \\ComputerName.domain.local  If so, add the suffix DomainName.local to the DNS configuration of the virtual private adapter/connection [ right click virtual adapter | properties | TCP/IP properties | Advanced | DNS | "Append these DNS suffixes (in order)" | Add ]
Avatar of CareConnect

ASKER

Yes did did the trick... how ever by curriosity why on some computer when i put manualy a IP as DNS it will not work but if I put the suffix DomainName.local will work?
Thank you

ASKER CERTIFIED SOLUTION
Avatar of Rob Williams
Rob Williams
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I figured it out with your help I put a "domain.org" and append the suffixe in all the client side and the DNS registered.

Thank you
Glad you were able to get it working CareConnect.
Thanks,
--Rob
Car, no experience with them, but did what I could.
If ever you want to get a hold of me there is an e-mail address on my profile.
Cheers,
--Rob