Page 1 of 1

Host cannot resolve local names

Posted: Tue Nov 09, 2021 11:38 am
by paolo_ituk
I have configured a PC on our local network as a host/connector in our OpenVPN Cloud account but when the OpenVPN connection is active the PC can no longer resolve the names of other PCs / Servers on the local network. PS I can ping the IP addresses fine.

I am guessing it requires some additional configuration but have no idea what that might be. Any ideas? Thank you.

Re: Host cannot resolve local names

Posted: Mon Jan 03, 2022 2:45 pm
by rosede
Paolo_ituk

I was just wondering if you figured this out. I just signed up with OpenVPN Cloud with this exact scenario in mind. It took me a bit, but I figured out how to setup the network and connections to allow my local DNS resolution. If you're still needing assistance, let me know, and I can try to assist you.

Daryl

Re: Host cannot resolve local names

Posted: Tue Feb 08, 2022 7:20 pm
by lciadmin
I really wish the person who figured this out had just let how he did it. Having this EXACT issue.

Re: Host cannot resolve local names

Posted: Wed Mar 30, 2022 11:09 am
by srtdesigns
I too am having the same issue. Using OpenVPN Cloud, OpenVPN Connector installed on Server 2019 and OpenVPN Connect on client. The client can establish the connection and ping all computers on the local network. However, that is all it can do. Unable to access shares as it does not understand /find any computer names.

Re: Host cannot resolve local names

Posted: Sun Apr 24, 2022 9:29 pm
by openvpn_inc
Hi all,

I don't actually work with Cloud, but I know DNS and can explain what happens. At home you're using your local router for DNS. It provides authoritative answers for your own local names, and does recursion (to fetch names) for zones it does not host.

Then you connect to Cloud with your OpenVPN Connect client, and Cloud pushes its own nameservers to you. It won't have any way to know your local DNS names unless that is configured.

I think the way to configure that is https://example.openvpn.com/settings/dns at the "Advanced Configuration" section, and add a DNS zone. Then the OpenVPN Cloud nameserver would know to consult your local nameserver for your local zones' names.

Note that would also require some routing or NAT configuration on your connector. I don't know how easy it is. Someone can try it out and let us know?

I will figure it out eventually, the problem being what I said at first, not working with Cloud. :)

regards, rob0