No DNS resolving with VPN (RRAS)
Does the server NIC that's bound to RRAS have DNS servers configured in the TCP/IP properties? If not then that's the problem. When using a static ip address pool for VPN clients the RRAS server assigns the same DNS servers to the clients that are configured in the TCP/IP properties of the server NIC that's bound to RRAS. You probably want to configure the RRAS server NIC to use your internal DNS servers, that way VPN clients will use them and be able to resolve internal DNS names.
Related videos on Youtube
Sven van Zoelen
Updated on September 18, 2022Comments
-
Sven van Zoelen over 1 year
I have a RRAS server setup on a Windows 2003 machine with two NIC's. The VPN works like a charm, I can ping all the other computers on the network. But it fails when I try to access resources with hostnames.
I searches for a solution but the ones I found are about RRAS setup with a remote DHCP server. But in my case it's the RRAS server that hands out the ip addresses (option for redirection for WINS, DNS is ON and set to the LAN NIC).
I also heard something about FQDN.. but I don't really understand what that is.
-
Walter K over 12 yearsI don't have the answer to you main question, but I can tell you that FQDN stands for "fully qualified domain name", i.e. a host name that ends in a TLD like x.y.com or z.local.
-
-
Sven van Zoelen over 12 yearsThe LAN NIC has the DNS server configured, but the WAN NIC has a different DNS (ISP). Do I have to change that to the internal DNS on the LAN?
-
joeqwerty over 12 yearsIf you want the VPN clients to be able to resolve internal DNS names, then yes. From a VPN client that's connected can you see what DNS servers it has been assigned? They should be the same ones assigned to the WAN NIC on the server.
-
joeqwerty over 12 yearsAn alternative approach would be to set up a DHCP server on the internal network (or on the RRAS server itself) and configure the RRAS server to use DHCP to assign ip addresses to VPN clients. Then you would configure your DHCP scope options with the internal DNS servers and DNS domain name.
-
Sven van Zoelen over 12 yearsI have configured the WAN NIC to the internal DNS. But still no luck when i try to ping hostnames when conected with the VPN. When I look at the ipconfig details, then i see that the DNS is set correctly.. But the default gateway is 0.0.0.0
-
joeqwerty over 12 yearsAre you pinging the FQDN of the hosts?