my Win10 clients' dns resolution fails when they connect to my new openvpn access server 2.8.5 on a Centos8 VM.
I can ping everything locally / globally by ip, but ping by name fails. nslookup also fails. With other words, the DNS resolution in the VPN tunnel is not working.
PS C:\WINDOWS\system32> ping
www.cnn.com
Ping request could not find host
www.cnn.com. Please check the name and try again.
PS C:\WINDOWS\system32> ping 192.168.127.155
Pinging 192.168.127.155 with 32 bytes of data:
Reply from 192.168.127.155: bytes=32 time=1ms TTL=128
Reply from 192.168.127.155: bytes=32 time=2ms TTL=128
Reply from 192.168.127.155: bytes=32 time=1ms TTL=128
Ping statistics for 192.168.127.155:
Packets: Sent = 3, Received = 3, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 2ms, Average = 1ms
Control-C
PS C:\WINDOWS\system32> ping [DNSSERVER]
Ping request could not find [DNSSERVER]. Please check the name and try again.
DNS resolution works on the server itself, as well as on the clients when they connect directly to the intranet.
The tunnel shows "no internet connection" and TAP Adapter shows strange values in its configuration
Connection-specific DNS Suffix:
Description: TAP-Windows Adapter V9 for OpenVPN Connect
Physical Address: 00-FF-08-55-73-F1
DHCP Enabled: No
IPv4 Address: 172.27.224.2
IPv4 Subnet Mask: 255.255.240.0
IPv4 Default Gateway:
IPv4 DNS Server: 192.168.127.155
IPv4 WINS Server:
NetBIOS over Tcpip Enabled: Yes
Link-local IPv6 Address: fe80::7181:e053:842:4ef9%34
IPv6 Default Gateway:
IPv6 DNS Server:
but am not sure what to make of it.
I tried all variations in the VPN configuration (push specific dns server / use VPN server's dns), but am now running out of ideas where to look for a resolution of this.
Any suggestions are much appreciated!!