1. Home
  2. Guides
  3. DNS Leaks
  4. Linux – How to Check & Fix DNS Leaks

Linux – How to Check & Fix DNS Leaks

  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

  • Click on the connection icon in the task bar > Edit Connections

gnome-network-manager-edit

  • Select your default network adapter in the list (this can be ethernet or wireless) > Edit

gnome-network-manager-edit-connection

  • 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

Updated on November 4, 2018

Was this article helpful?

Related Articles