OpenVPN stops DNS on W10 client
I successfully established OpenVPN setup on my router and generally it works fine. Here is a config on the router:
On client I can enable this VPN, have a connection but when it is enabled, there is no possibility to browse internet on this PC. As I found reason is connected to non-working DNS. It is configured correctly, DNS servers are available, but it doesn't work. Why?
C:\Users\job>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : DESKTOP-A4T8U8K
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Unknown adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TAP-Windows Adapter V9 for OpenVPN Connect
Physical Address. . . . . . . . . : 00-FF-A0-8C-DA-E7
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b80e:8203:7f3d:2482%26(Preferred)
IPv4 Address. . . . . . . . . . . : 10.5.6.6(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 436273056
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-25-89-B4-1B-00-24-E8-05-47-19
DNS Servers . . . . . . . . . . . : 1.1.1.1
8.8.8.8
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) 82567LM-3 Gigabit Network Connection
Physical Address. . . . . . . . . : 00-24-E8-05-47-19
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 10.34.1.3(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.34.1.254
DNS Servers . . . . . . . . . . . : 8.8.8.8
8.8.4.4
NetBIOS over Tcpip. . . . . . . . : Enabled
Unknown adapter OpenVPN Connect DCO Adapter:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : OpenVPN Data Channel Offload
Physical Address. . . . . . . . . :
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
C:\Users\job>nslookup
DNS request timed out.
timeout was 2 seconds.
Default Server: UnKnown
Address: 1.1.1.1
> google.com
Server: UnKnown
Address: 1.1.1.1
DNS request timed out.
timeout was 2 seconds.
^C
C:\Users\job>ping 1.1.1.1
Pinging 1.1.1.1 with 32 bytes of data:
Reply from 1.1.1.1: bytes=32 time=18ms TTL=54
Reply from 1.1.1.1: bytes=32 time=17ms TTL=54
Reply from 1.1.1.1: bytes=32 time=17ms TTL=54
Generally, I need this VPN only for have a connection to other office, there is no need to put these DNSes through the tunnel at all, is possible to reconfigure it for that way?
And one remark more: described problem occurs only on PC clients (win10), I tested connection also with android mobile and here all works fine.