Page 1 of 1

DNS name resolution problems on Ubuntu 16.04

Posted: Sat Sep 19, 2020 7:16 am
by uhef
Hi.

I installed openvpn3 client on by Ubuntu 16.04 following instructions in https://community.openvpn.net/openvpn/w ... nVPN3Linux.

Establishing connection to VPN works ok and I'm able to connect to services running inside VPN using IP addresses.

However, there seems to be problems with DNS.

When I connect to VPN the openvpn3 seems to modify /etc/resolv.conf so that the updated resolv.conf has two nameserver entries. The other is the DNS entry from OpenVPN and the other one is the DNS entry that was there originally.

Interesting thing is that nslookup and dig seem to be able to make successful name resolution requests within the setup and can resolve names that are configured in the VPN DNS. However curl nor browsers don't seem to be able to resolve the exact same names.

Any experiences about this with others and any hints about how to fix it?