The issue of DNS server selection
Posted: Tue Jun 15, 2021 9:08 am
Hi,
it's possible that this is some trivial issue, but I can't figure it out on my own. I have the same VPN configuration files on two computers running Windows 10. Both are hooked up to the same router, although one via WiFi and the other via an Ethernet cable.
When connecting from computer #1 via VPN, it uses the DNS servers it gets via VPN and I can access the remote servers by their name. Anyway, when I try to execute e.g. "nslookup www.google.com" it shows me that the name on the DNS server provided by the VPN is looked up.
Connecting to computer #2 via VPN, I can see that it uses my local router (192.168.0.1) as DNS after connecting. This can be seen, for example, through the same nslookup command. In this situation the servers from the remote network are not visible by name, I only have access by IP address.
What can this difference be due to? How to force the computer #2 to use remote DNS servers when using VPN?
it's possible that this is some trivial issue, but I can't figure it out on my own. I have the same VPN configuration files on two computers running Windows 10. Both are hooked up to the same router, although one via WiFi and the other via an Ethernet cable.
When connecting from computer #1 via VPN, it uses the DNS servers it gets via VPN and I can access the remote servers by their name. Anyway, when I try to execute e.g. "nslookup www.google.com" it shows me that the name on the DNS server provided by the VPN is looked up.
Connecting to computer #2 via VPN, I can see that it uses my local router (192.168.0.1) as DNS after connecting. This can be seen, for example, through the same nslookup command. In this situation the servers from the remote network are not visible by name, I only have access by IP address.
What can this difference be due to? How to force the computer #2 to use remote DNS servers when using VPN?