How To Ensure Your DNS Isn’t Leaking While Using A VPN

Here are some tips for using VPNs more effectively:

Perform A DNS Leak Test

DNS is the “domain name service” that is required to use internet. It translates a domain name (e.g. “Amazon.Com”) into a IP address (e.g. “”). When using a VPN, do a DNS leak test to make sure that you are not revealing your ISP name servers (your ISP is the company giving you access to the internet).

Use A Private DNS Provider

To enhance your privacy I recommend using a private DNS provider, or preferably, two different private DNS providers. Here are some DNS providers that purge their logs regularly:

How to change your DNS:

  • Windows users will need to go into their network device’s properties, then go into the IPv4 properties, and then change the DNS servers in the bottom section of the window.
  • Mac OS X users will need to go into their System Preferences, click on “Network“, choose their network device, click on “Advanced”, and then enter DNS servers after clicking on the DNS tab.
  • Linux users will need to click on their network applet, choose Edit Connections, click on “Edit” for your network device, and under the “IPv4 Settings” tab, choose the “Automatic (DHCP) addresses only” profile, and then add the DNS servers into the DNS servers textbox, with each server address separated by a comma.

Use OpenVPN

Use OpenVPN where possible — it’s the most secure VPN protocol. On Macs, you can use the free Tunnelblick app with OpenVPN. With Ubuntu, you just install openvpn packages. In Windows, download the OpenVPN installer. Currently, you can’t use OpenVPN on iPhones and iPads, due to Apple restrictions. You can use the GuizmOVPN app on a jailbroken iPhone or iPad. On Android, you can use FeatVPN app. Also, if you have a “rooted” device running Android 4, you can use the OpenVPN Settings app.

Use Ports That Aren’t Blocked

If your ports are being blocked or censored, you need to experiment with ports when using a VPN. With the OpenVPN protocol, port 443 (used by secure pages in web browsers) is usually a safe bet, another good port to use is 53 for UDP (DNS port).

Don’t Use Leaky Browser Plug-Ins

If you don’t want your browsing habits tracked, you should disable Flash, Real Player, Quicktime, Java and Javascript. All these plugins can potentially leak out your real IP address or other identifying information.

Log In To Online Accounts

It might seem obvious but don’t login to online accounts that could identify you! You can of course create online account with fake information.

9 thoughts on “How To Ensure Your DNS Isn’t Leaking While Using A VPN”

  1. Pingback: 2019年最佳VPN服务提供商 - 翻墙网络

  2. I would like your opinion on,
    1. Australia .. The 2 year data retension law about to become law.
    2.The upcoming tpp to be signed by a lot of countries to support USA companies.
    How do you think this will affect people in australia with regards to watching movies and tv series via vpn and kodi? Will it still be ok to do it?

    I am thinking of using a vpn router/accelerator along with say your recommended expressvpn.
    I would like to connect all my normal everyday things direct to my isp.
    I would then run kodi via a proxy through the vpn accelerator so that only when I use kodi will I use the vpn. As I am only worried about Kodi.
    Will this be secure enough or should I run all my traffic through the vpn?
    I belive if I useonly vpn, I will be vunerable due to my online accs.
    I am also worried about my dns leaking, will expressvpn solve that and will my proxy cause that to fail.
    Basically I am worried that the above 2 mentioned laws will cause my vpn to become useless.


    1. Matt,

      VPNs should be unaffected by the data retention law — except for VPNs hosted in Australia. You can use ExpressVPN on separate router, and only connect to that router when you need to watch movies or torrent. Logging into online accounts shouldn’t be a problem, unless you are worried about ISPs scanning your internet traffic at the packet-level.

    1. Hi,All in all, it’s good with no slow-downs in speed.Only problem, it seems to choke some times, like it loeoss connection (thus, leaking true identy?). When this happens, pages don’t get resolved & you have to try again. In rare occations, you have to disconnect & reconnect for it to get going again.Other than this, it does a very good job.But I don’t know how serious this choking business is in terms of security/ privacy.If I would pay for it? If the chocking does not represent a security/ privacy threat, price is very reasonable for what you get.Thanks How To Hide IP for the chance of trying this out.

    2. Overall Rating Comp speed US/UK servers Customer suroppt I’ve been subscribed for nearly a year now and I’ve seen overplay grow a lot. Aside from the odd login timeout I’ve never experienced a problem. I recently took the opportunity to upgrade to their latest OverPlayVPN software, which throughly sets them apart from other providers I’ve used before

Leave a Comment

Your email address will not be published. Required fields are marked *