DNS configuration
Posted: Fri Dec 30, 2022 5:43 am
On a related point perhaps, if I may... I'm relatively new to OpenVPN. I have been in IT for over 30 years, however, so while not terribly hands-on for some time, I'm reasonably qualified to be.
I use an Araknis router which offers OpenVPN as a VPN option thereto. I've used it for years. Now in Malaysia, struggling to use a third-party app and testing for DNS leakage, I believe I may need to tighten some things since a DNS leak test site reports that my DNS server is using the local ISP's DNS server.
In trying to come up the learning curve, I came across -dhcp-option DNS [IP]. In trying to set that in the config file used by my OpenVPN client (v11.10.0.0), however, the client logs "Options error: Unrecognized option or missing or extra parameter(s) in 4002.VPN.1 (run as admin).ovpn:14: dhcp-options (2.4.6)". I had specified "dhcp-options DNS 192.168.1.1".
Am I configuring this incorrectly, do I not have the right version of the client, or am I otherwise in left field, please? As a sidebar, I'm unsure that I can control the OpenVPN version that is running on the router.
Thank you for any guidance.
I use an Araknis router which offers OpenVPN as a VPN option thereto. I've used it for years. Now in Malaysia, struggling to use a third-party app and testing for DNS leakage, I believe I may need to tighten some things since a DNS leak test site reports that my DNS server is using the local ISP's DNS server.
In trying to come up the learning curve, I came across -dhcp-option DNS [IP]. In trying to set that in the config file used by my OpenVPN client (v11.10.0.0), however, the client logs "Options error: Unrecognized option or missing or extra parameter(s) in 4002.VPN.1 (run as admin).ovpn:14: dhcp-options (2.4.6)". I had specified "dhcp-options DNS 192.168.1.1".
Am I configuring this incorrectly, do I not have the right version of the client, or am I otherwise in left field, please? As a sidebar, I'm unsure that I can control the OpenVPN version that is running on the router.
Thank you for any guidance.