Page 1 of 1

Allow using local DNS resolvers on the Windows Service

Posted: Mon Nov 14, 2022 5:06 am
by Overnox
Hello friends,

i have a quick question.

The point is that I want to enable an employee to work from home.

I followed the installation instructions below.

https://youtu.be/dUowBMY53Zs

Everything works so far.

This means that the employee can work from home via VPN or remote desktop.

I set up the OpenVPN software as a Windows service on the company PC (server).

Now my question.

There is a point all the way down in the advanced settings in the software.

Allow using local DNS resolvers
Enable this setting if you need to allow DNS requests to 127.0.0.1 and ::1

How do I get these settings on the service from the server?

Since without this function, the network will only work with IP addresses.

Thank you for the answers.

Re: Allow using local DNS resolvers on the Windows Service

Posted: Mon Nov 14, 2022 10:49 am
by openvpn_inc
Hello Overnox,

The setting to allow using local DNS resolvers does not do what you apparently seem to think it does. If you want DNS names to be transformed to IP addresses, you can configure on the OpenVPN server side to push a DNS server to the OpenVPN clients. They will then use that DNS server to resolve names to IP addresses. In this case you would be pushing a DNS server on the Windows Server or a DNS server in that network. The OpenVPN clients will then use that remote DNS server.

The setting to allow using local DNS resolvers allows to have the OpenVPN clients to use a DNS server that is installed on the OpenVPN client itself. This is a simple on/off setting. This option is needed for people that use for example Umbrella DNS or some other DNS filtering solution that installs on the local system itself.

Kind regards,
Johan

Re: Allow using local DNS resolvers on the Windows Service

Posted: Mon Nov 14, 2022 11:02 am
by Overnox
Hi Johhan,

Thank you for your helpful answer,

I tried to set that, the DNS server would be then yes the 192.168.2.1 but there tells me the following.

Private IPs cannot be used as DNS Server, if they are not defined under Network.

https://prnt.sc/s6WfJpBsvtkU

Is there perhaps a tutorial on how to set this correctly?

Thanks for the quick help.

Kind regards

Marcel

Re: Allow using local DNS resolvers on the Windows Service

Posted: Mon Nov 14, 2022 11:05 am
by openvpn_inc
Hello Overnox,

I see, you're using OpenVPN Cloud. Moved the topic there for you.

This requires adding your network that provides the DNS server so that it can then be assigned to your VPN clients. To be honest I have personally never configured such a thing, but we do have some documentation here;
https://openvpn.net/cloud-docs/changing-dns-servers/
https://openvpn.net/cloud-docs/adding-a-network/

If you need further assistance it is best to contact https://openvpn.net/support and mention there that you need to use a private DNS server.

Kind regards,
Johan