Difference in DNS resolution when connecting with Open VPN GUI and Open VPN Connect
Posted: Tue Apr 19, 2022 2:35 am
Hi,
When I connect to my AWS OpenVPN Server using OpenVPN GUI I am able to resolve domain names and get a ping response.
When I connect to the same AWS OpenVPN Server using OpenVPN Connect, I am unable to resolve domain names. I can however directly ping ips and get a response.
This is both on Windows 11, exactly the same configuration on both clients and connecting to the same server. The OpenVPN server is configured with a split tunnel for only one unrelated ip address, I'm using Google DNS to resolve ips (8.8.8.8, 8.8.4.4).
When I route the Google DNS ips over the VPN rather than using the default local gateway then I'm able to resolve domain names and get a ping response. Any idea why I need to route the Google DNS ips over the VPN to resolve domain names for the OpenVPN Connect client and not the OpenVPN GUI?
Would really appreciate any ideas on how to debug and move forward.
Many thanks
When I connect to my AWS OpenVPN Server using OpenVPN GUI I am able to resolve domain names and get a ping response.
When I connect to the same AWS OpenVPN Server using OpenVPN Connect, I am unable to resolve domain names. I can however directly ping ips and get a response.
This is both on Windows 11, exactly the same configuration on both clients and connecting to the same server. The OpenVPN server is configured with a split tunnel for only one unrelated ip address, I'm using Google DNS to resolve ips (8.8.8.8, 8.8.4.4).
When I route the Google DNS ips over the VPN rather than using the default local gateway then I'm able to resolve domain names and get a ping response. Any idea why I need to route the Google DNS ips over the VPN to resolve domain names for the OpenVPN Connect client and not the OpenVPN GUI?
Would really appreciate any ideas on how to debug and move forward.
Many thanks