On another server, I created an OpenVPN client. I exported the client and tested it on multiple operating systems, including Qubes. It works perfectly on Xubuntu and other systems. But on Qubes, the client can’t resolve domain names; it can access sites only by IP address.
I’ve tested the client two ways in Qubes. The first way, in a domain VM, was in a command terminal with sudo openvpn --config <file-name.ovpn>. I also tried changing /etc/resolv.conf in the domain VM to use the WAN address of the VPN server as DNS. The server has its own DNS resolver, but this still didn’t fix it in Qubes.
The second way I tried was with a ProxyVM. The client still could reach IP addresses but not resolve domain names.
Why would the VPN client get DNS resolution on other operating systems but not Qubes?