Log is flooded with:
Code: Select all
The requested name is valid, but no data of the requested type was found.
OpenVPN client: 2.4.7/2.4.6
Windows 7 x64
My config:
Code: Select all
client
dev tun
proto udp
remote <DOMAIN> 1194
resolv-retry 300
persist-key
persist-tun
If my clues are correct, there're 2 ways around:
Unsure: Make OpenVPN somehow bypass it's own routing via VPN tunnel when communicating with server, custom route for the VPN server IP like "route <server ip> 255.0.0.0 net_gateway". Since the VPN srv also has DNS srv set up and if the client's DNS is set to be this server, any DNS requests should route directly to the right IP for lookups?
My bet: Instead of connecting to VPN server through domain, write down the IP in config: "remote <IP> 1194". Alternatively, add the domain to /etc/hosts (bad when the server IP changes, but it's a personal server - all under control).
I will try the latter: add the domain to /etc/hosts and report on results months later when it happens again (or not).