Question zenwifi xt8 + openvpn - no dns ability, have to use host files remotely?

markm75

Member
Jun 6, 2017
39
0
66
I'm running openvpn via the xt8.. i find that on remote connections, you can only connect to machines via ip addresses.. you have to use a local host file to do this by name.

Im running things at udp/tun mode.

Is there some sort of workaround, i've tried everything and cant find a way.

Thanks in advance
 

Fallen Kell

Diamond Member
Oct 9, 1999
6,176
516
126
Have you tried configuring the use of open/free DNS servers? Your ISP probably limits the connection to their DNS server(s) to their internal network, but since your connection would be seen to be coming from your VPN endpoint, it would be outside of your ISP's network and thus most likely denied/dropped by their firewall.

OpenVPN seems like it provides DNS servers as well:

I do not use OpenVPN, so I am not 100% positive of the above, but that all seems to fit with the problem you are having.

You can also try using DNS from Google:
8.8.8.8 and 8.8.4.4 for IPv4 (just understand that they will most likely be logging everything like they do with their search and use it to sell better ads to you)

Or use OpenDNS:
208.67.222.222 and 208.67.220.220

Alternatively, you can run your own local DNS, such as a pihole, but you would need some specific configurations to your network to be able to support and use it properly with OpenVPN:


Or any number of other tutorials on how to setup pihole and openvpn...
 
Last edited:

markm75

Member
Jun 6, 2017
39
0
66
Have you tried configuring the use of open/free DNS servers? Your ISP probably limits the connection to their DNS server(s) to their internal network, but since your connection would be seen to be coming from your VPN endpoint, it would be outside of your ISP's network and thus most likely denied/dropped by their firewall.

OpenVPN seems like it provides DNS servers as well:
No, I'm referring to local dns machine name resultion
 

mxnerd

Diamond Member
Jul 6, 2007
6,799
1,103
126
You will need a device/machine that's always on and running local DNS server. Above mentioned Linux based Pi-hole or Windows/Linux/Mac/Raspberry Pi based Technitium DNS are some options.

Routers with 3rd party firmware usually can run a very simple dns called dnsmasq (which Pi-hole also based on), but your router is too new to be supported.

DietPi runs on many devices and comes with a lot of packages besides Pi-hole & OpenVPN.
 
Last edited:

markm75

Member
Jun 6, 2017
39
0
66
You will need a device/machine that's always on and running local DNS server. Above mentioned Linux based Pi-hole or Windows/Linux/Mac/Raspberry Pi based Technitium DNS are some options.

Routers with 3rd party firmware usually can run a very simple dns called dnsmasq (which Pi-hole also based on), but your router is too new to be supported.

DietPi runs on many devices and comes with a lot of packages besides Pi-hole & OpenVPN.
Ah i didnt realize this was needed.. i thought i could use the dhcp option setting with the routers dns but it didnt work (this works on a corporate setting).