I've just set up an OpenVPN server. It connects fine and all, but after a check on dnsleaktest.com, I've discovered, there is a DNS leak. I've searched for solutions, and could only come up with these few lines:
script-security 2 up /etc/openvpn/update-resolv-conf down /etc/openvpn/update-resolv-conf
They did not help the situation. Here is my client config file:
client dev tun proto udp remote **SERVER IP ADDRESS CENSORED** 1194 resolv-retry infinite nobind user nobody group nogroup persist-key persist-tun remote-cert-tls server cipher AES-128-CBC auth SHA256 comp-lzo verb 3 key-direction 1 script-security 2 up /etc/openvpn/update-resolv-conf down /etc/openvpn/update-resolv-conf
Here is my
resolv.conf files, for both my client and server:
P.S. I'm not using the gnome network manager, I'm using the CLI. Which confuses me, as to why I have a DNS leak.