OpenVPN DNS Suffix not pushing

Started by Migs, July 28, 2024, 11:15:05 PM

Previous topic - Next topic
OpenVPN Instances option DNS Default Domain does not seem to be working.  This should push a Connection Specific DNS Suffix.  And I just see that blank in my ipconfig /all entry on my client.

Everything works/routes as expected if I use FQDNs, but trying to use a hostname without the FQDN, doesn't work.

Just updated to 24.7 just to rule that out.

I also tried using DNS Search List, and that also doesn't seem to work.

I think the custom OpenVPN option ADAPTER_DOMAIN_SUFFIX should work, but the option for custom options has  been removed.

Is there any way to get this to work as expected?

I'm testing this with a windows client.  Using the latest version of OpenVPN client and OPNSense is fully updated.

Anyone know of a way around this?

ive seen this on windows with openvpn client, there are 2 clients, the OpenVPN Connect is where i had these issues with users, had them use the Community Client https://openvpn.net/community-downloads/ and suffix search was working for me.

Yeah, seems like an issue with OpenVPN Connect then.

I was also able to fix it on OpenVPN Connect by adding the following line in the client .ovpn file.

dhcp-option ADAPTER_DOMAIN_SUFFIX domain.name

Wonder why OpenVPN Connect isn't respecting the option pushed from the server.