How to Fix Linux DNS Leaks Print

  • linux, dns, unix, fix, leaks, gnome network manager, openvpn cli
  • 1


How to Fix DNS Leaks in Linux For OpenVPN

1. Visit DNSLEAKTEST
2. Click on Extended Test button
3. 
Wait for the Test to complete.  If you see an IP/Country show up that is in the same country as your physical location, your computer is leaking DNS.


Network Manager

1. Click on the connection icon in the task bar > Edit Connections

gnome network manager edit
 
2. Select your default network adapter in the list (this can be ethernet or wireless) > Edit
gnome network manager edit connection

3. Click on IPv4 tab > type in a DNS Server IP.  Our DNS IP list can be found HERE
gnome network manager dns settings
 

OpenVPN via CLI
If you are using OpenVPN via Terminal/CLI, please do the below
Edit your client.ovpn file and add the 3 lines below at the end of the file

script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf

Save the file, then re-run the openvpn command to connect



Was this answer helpful?

« Back

["\r\n