Configure OpenVPN to use a custom DNS server.
Configure OpenVPN to use a custom DNS server.
You can adjust the DNS settings in your openVPN configuration file. Look for a file like `openvpn.conf` or similar, and edit the relevant DNS entries there. Updating the server's DNS should be reflected when you modify the client configuration locally.
I understand you need to modify which DNS servers clients connect to. Add the line "dhcp-option DNS 1.1.1.1" (or another IP) to your /etc/openvpn/server.conf file. This assumes your server setup uses a configuration named server.conf, which is common in most guides. You can also adjust the DNS settings in /etc/network/interfaces under the relevant interface if you prefer.