OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: Fatmouse69 on March 14, 2019, 12:05:25 PM

Title: [SOLVED] Problems with DNS of OpenVPN clients
Post by: Fatmouse69 on March 14, 2019, 12:05:25 PM
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
Title: Re: Problems with DNS of OpenVPN clients
Post by: Fatmouse69 on March 19, 2019, 09:17:47 PM
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.