I have a very small company with just 1 server, a Windows Server 2008 R2, serving as an AD DS, DNS, WINS, DHCP, and now RRAS VPN. Not ideal, but it's what I have.
I recently turned on routing and remote access and established VPN access to the network. It's a PPTP connection, Win 7 client, that is working fine; it authenticates and routes and uses the DHCP server to get IP info.
Here's the issues I'm experiencing when trying to lookup names for computers on the network from a remote client, ping for example, "Ping request could not find host xxxx". I am able to ping those clients by IP address, so not a routing issue.
1) Failure with DNS: I have a DNS zone setup on the server, with a FQDN, "example.com", which works perfectly in the office. DHCP issues the address to this server, and adds the domain suffix "example.com". However, when using it from a remote client, it forwards the DNS request to a root server and returns the "@.example.com" external IP address. Used NSLookup, and confirmed, on-site, DNS lookup stays local; Off-site client, correct DNS server, but it forwards the query rather than resolve it. (SERVFAIL error in the DNS log)
2) Failure with WINS: The same server is running WINS, and appears to be working great. It's getting updates from the computers on the network including the RAS clients. Confirmed WINS server address is being delivered by DHCP to all clients. Also, RAS client does not have any other WINS servers.
3) NetBIOS -- Not an option, not routable, obsolete. Could use a host file, but that would not be ideal; but more importantly, DNS and WINS should both be working!
Thank you for your time and consideration, it's greatly appreciated!!
UPDATE #1
By manually changing the routing tables on the client, "Route Delete 0.0.0.0" and adding the default gateway on the internal VPN network it resolves names properly for both internal and external names. Here's the route table:
Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.56 11
However, when I set the "Use default gateway on remote network" option, in the IPv4 settings for the VPN client, the route print line looks like this:
Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.141 4236 0.0.0.0 0.0.0.0 On-Link 192.168.10.55 11
and it does not route to the internet. I'm guessing this is probably a configuration error on the RRAS. Any ideas?