Page 1 of 1

The issue of DNS server selection

Posted: Tue Jun 15, 2021 9:08 am
by graulv
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?

Re: The issue of DNS server selection

Posted: Tue Jun 15, 2021 10:39 am
by TinCanTech
Push a DNS server to your client.

Re: The issue of DNS server selection

Posted: Tue Jun 15, 2021 10:51 am
by graulv
Both computers connect to the same VPN server. And I have no control over that server, it's my company's server.

Re: The issue of DNS server selection

Posted: Tue Jun 15, 2021 10:59 am
by TinCanTech
Then ask your company IT department for support.

Re: The issue of DNS server selection

Posted: Tue Jun 15, 2021 12:18 pm
by graulv
They say the server side is correct. Others do not have the problem.

And I see this in my log:

Code: Select all

PUSH: Received control message: 'PUSH_REPLY,route 192.168.0.0 255.255.252.0,route-gateway 192.168.24.1,topology subnet,ping 10,ping-restart 120,dhcp-option DNS 192.168.252.200,dhcp-option DNS 192.168.252.201,route 192.168.252.0 255.255.255.0,dhcp-option DOMAIN <censored>,ifconfig 192.168.24.220 255.
Isn't it that DNS adresses are received correctly?

Re: The issue of DNS server selection

Posted: Fri Jul 02, 2021 2:22 am
by Stephanie_Sy
you can configure the primary DNS to be used with your connection.