How to prevent DNS leaks when using a VPN

DNS Leak - like water leaking Photo by Luis Quintero

Hackers, stolen credit card information, trolls, geo-restrictions, blocked content, censored sites — the Internet can be a minefield. That’s why it’s important to protect yourself when you’re online. Many people do this using VPNs (virtual private networks) that hide their identity and keep their online activities anonymous.

However, there’s an additional risk that comes along when using a VPN. It’s called a DNS leak. Let’s talk about what DNS leaks are and how you can prevent them and guarantee your privacy online when using a VPN.

First things first: What’s DNS? What’s a DNS leak?

DNS stands for Domain Name System. It’s kind of like the address book of the Internet - the ones that humans use. Every ‘place’ and site on the Internet has a domain name, which we use to find and access them. The DNS system translates domains into IP addresses. Browsers and machines are more comfortable with such IP addresses. The DNS makes it so that ordinary Internet users don’t have to memorize long IP addresses, making the Internet much more user-friendly. A DNS leak is something that happens to VPN users. The purpose of a VPN is to create a secure ‘tunnel’ through which a user’s data and activity pass, instead of being exposed to anybody looking.

A DNS leak is when DNS requests are made through the non-anonymous network of your Internet Service Provider (ISP) instead of through your VPN and its dedicated DNS servers.

This leak means that most of your activity may be moving through your VPN’s tunnel, but each DNS request is not. Other parties — such as your ISP — will be able to see which websites you’ve visited. Your ISP may log the sites you have visited and put your privacy at risk.

Why does this happen?

DNS leaks happen for a few reasons. One of the most common is a manual configuration of your VPN. This configuration makes the chance of DNS leaks higher, as the VPN won’t be using the ideal settings — or its built-in DNS leak-protection software, which we’ll talk about below — to prevent DNS leaks.

Another reason this happens is a manual DNS config. This type of configuration is when a user has changed the settings to have DNS go through a non-anonymous DNS server such as Google or the ISP’s internal DNS server. Both are bad choices for anonymity.

Another is malicious attacks. These are more likely to occur on unsecured networks, like in cafes or other public places. The attacker accesses your device and redirects your DNS requests to a malicious DNS server to log your activities.

To keep your online activities from prying eyes, you have to route all your traffic – including the DNS requests – from your device to the VPN server. The DNS requests have to go through the VPN tunnel to your VPN provider’s DNS servers and should never go through your ISP’s DNS server.

Can it be fixed?

Yes! Fortunately, DNS leaks are a solvable problem. The first step is performing a DNS leak test — there are a considerable number of sites out there that will accomplish this service quickly and freely, like or

First, connect to your current VPN (if you have one; if you don’t, don’t worry about this step) and then do a leak test. If you have a leak: one way to solve it involves playing around with the settings and config of your computer and operating system to prevent your DNS queries from being leaked to the world. This approach is a possibility, but there’s a much easier (and in the long run, since it covers other security gaps, much more secure) method: using a VPN that includes DNS leak- protection features.

Tegant DNS Leak Prevention - Man looking exposed Photo by Tom Sodoge

Which VPN comes with DNS leak protection?

One of the significant VPN players is Tegant, which comes with DNS leak preventing features that complete its security package. It doesn’t make sense to use a VPN - much less pay for one - that doesn’t protect your anonymity fully. Tegant is aware of this, and in its safety package includes DNS leak protection. What’s more, the protection feature merely is part of Tegant VPN’s service. That means that whenever you use Tegant and access the web, you’re fully protected — unlike some other VPNs which send most of your data through their secure network, but still leave you exposed through DNS leaks. Tegant’s DNS leak-prevention is easy to use, reliable, and effective. When you turn on Tegant, you can be sure that this often-exploited gap in many VPN’s defenses is safely covered.

So other VPNs don’t prevent DNS leaks? How else is Tegant different from other VPNs?

Tegant is a VPN designed by great software engineers, to be used by real people. Here are some of the other cool features they have:

  • Tegant has an unpaid version that’s accessible just by watching an ad now and then. Most other free VPNs have data limits or restrict your access to get you to pay, but Tegant lets you browse at full speed, no matter what.

  • Tegant’s built-in DNS leak protection is part of a bigger package of total security that comes from its cutting-edge technology. All of Tegant’s software uses some of the most advanced technology available, like in their encryption - other VPNs use outdated and less secure encryption methods.

  • Tegant is a transparent company that is up-front about who they are and what they do. You can quickly research where they’re located, what technology they use - and you can also get in touch with them effortlessly! Unlike many VPNs, which are hidden beneath pop-up laden websites and anonymous interfaces, Tegant has direct and quick customer service. It’s part of their commitment to being transparent and honest about who they are.

  • Tegant doesn’t give your data away. The withholding of your data is another security feature that, along with DNS leaks, is often forgotten - but makes many VPNs insecure. VPNs need to collect user data; otherwise, they can’t provide their services, nor protect their users from hackers. Tegant doesn’t deny this as other VPNs do - but they also commit to deleting all user data after ninety days, and to never pass your data along to anyone else. Together with their secure encryption and DNS leak-protection, this means that Tegant is one of the most secure VPNs out there.

Did you know about DNS leaks? They’re an oft-forgotten component of online security and VPNs, but no less important when making sure your privacy online is full and secure. Now that you know, you also understand what you can do to prevent them from compromising your safety and privacy online - and getting Tegant and its DNS leak protection is a great place to start.