I found a solution on this blog post.While there are two solutions mentioned, I prefer using the second one because it means my DNS is set by the OpenVPN server (the first solution means I use the same DNS servers whether or not I'm connected to the OpenVPN server).
DNS vs. VPN vs. Smart DNS | NordVPN Jun 10, 2019 Setup Guide | OpenDNS Thanks for choosing OpenDNS! To get started, you’ll need to set up one or more of your devices to use OpenDNS’s DNS nameservers. For instructions on how to do this, choose your device type from one of the categories below. Get the Best VPN Server List for Your Location in 2020 Send your Internet traffic through two different VPN servers for double encryption. Recommended for the most security-focused. Obfuscated servers. If you’re located in a country with heavy restrictions on Internet access, connect to one of our obfuscated servers. Onion Over VPN servers. Opendns + Openvpn? – OpenDNS
1 # [server.conf] 2 port 1194 3 proto udp 4 dev tun 5 ca / etc / openvpn / ca. crt 6 cert / etc / openvpn / server. crt 7 key / etc / openvpn / server. key 8 dh / etc / openvpn / dh1024. pem 9 server 10.8. 0.0 255.255. 255.0 10 ifconfig-pool-persist ipp. txt 11 push " redirect-gateway def1 bypass-dhcp " 12 # choose DNS server(s) depending on Dec 12, 2017 · if the "block outside DNS" is checked, does that in essence block say, user custom DNS we check from the DNS list dialog? i've added my own local net DNS server that in turn sends requests to openNIC servers, or adding openNIC servers in the DNS list and not going through my local DNS server. yet, sometimes DNS resolving gets hiccups when TG Configure VPN clients to query our internal DNS servers. By default OpenVPN is configured to use a split tunnel configuration and therefore client-side DNS settings will default to use the ISP’s DNS servers and due to this, internal server name resolution will fail to work (unless you are using a manually updated hosts file)
Top 16 Best Free and Public DNS Servers in 2020 | VPNpro
Aug 30, 2016 · VPN clients (which are on subnet 10.10.10.0/32) are allowed to contact my main network (192.168.1.0/24) and routing is correct since I can access my internal sites and clients via their IP addresses, but internal DNS resolution doesn't work at all when I push my internal DNS resolver at 192.168.1.1, nor does external DNS resolution (Google Aug 28, 2019 · Where should I start.. Ok, I am setting up Openvpn at my castle for remote access for my self. I have installed the Openvpn Hyper-V access server and everything went according to plan. Long story short, everything is up and running but DNS resolution on the VPN client is not ideal. If a DNS Server isn't assigned by the vpn server but your gateway is redirected, the dns traffic will simply go through the tunnel before making it to it's destination. (Lookups are slow but work.) A popular and generally elegant vpn implementation that is popular in Corporate environments is to have the vpn server assign a DNS server but not