Server 2012r2 VPN DNS

domain-name-systemremote-accessvpnwindows-server-2012

Have an issue where onsite clients cannot resolve VPNusers. but VPN users can resolve onsite machines.

example.

  • USER! uses LAPTOP1
  • USER1 connects to VPN gets internal IP address of 10.243.0.200
  • USER1 pings SERVER1 – resolve to ip and gets reply
  • USER1 RDP into SERVER1 (inside VPN)
  • USER1 pings LAPTOP1 from SERVER1 resolves to ip address last assigned by DHCP (10.243.0.139) ping fails

  • USER1 pings 10.243.0.200 from SERVER1 gets reply.

Running Server 2012r2 It is a domain controller, DNS and VPN server. VPN is just configured with basic default settings.

All VPN users have static IP setup in AD.

Not sure where to go from here.

Best Answer

Firstly, ensure that your clients are configured to use the correct DNS server. Secondly, you must ensure that your VPN clients are registering with your DNS server;

Go to Network Settings for the VPN connection > TCP/IPv4 > Properties > Advanced > DNS > Tick "Register this connection's address in DNS".