[SOLVED] Problems with DNS of OpenVPN clients

Started by Fatmouse69, March 14, 2019, 12:05:25 PM

Previous topic - Next topic
March 14, 2019, 12:05:25 PM Last Edit: March 19, 2019, 09:22:14 PM by Fatmouse69
Hi,
I am running a Road-Warrior setup which runs pretty fine, except that sporadically the DNS for my local network is not working on my VPN-clients. Sometimes they can ping e.g. host01.mylocaldomain.lan and sometimes they can't.

As a workaround I tried to set static DHCP leases for my local network hosts and on top of this override DNS entries for those static IPs (I am using Unbound DNS). But then my local clients (e.g. host01) aren't able to reach the Internet. I already tried to fix this by setting the gateway explicitely but without success.

Hopefully somebody can give me a hint. Thank you very much for your time.

Kind regards

Ok, so long story short, I don't know what the problem was while my clients couldn't connect to the Internet, but it was gone the next day. I am using static IP addresses now, because the OSes of my clients are heterogenous (Windows, macOS and Linux) and only on Windows I got the hostname resolution running reliably.