How to fix a DNS leak

avatar
|

Oops! Your DNS leaks! How to deal with that?

If you’ve just got the DNS leakage notification from our check and have no idea what DNS means, what a DNS leak is, and how to fix it, it’s time to broaden your mind and keep yourself safe online.

What does DNS mean?

Domain Name System (DNS) translates the domain names (e.g. ipfighter.com) that humans can read into IP addresses (e.g. 117.62.35.130) that machines can read and the other way around.

What is a DNS leak?

A DNS leak means that your default ISP can track every step you go no matter whether you’re using a VPN or not.

When you connect to VPN, all of your online traffic including DNS queries go through an encrypted tunnel to your VPN provider’s DNS servers. But in some cases, your queries go to your default DNS server due to a few reasons such as having set up a VPN manually, using VPN services doesn’t own their DNS, or not offering adequate protection from leaks.

How to fix a DNS leak

There are two possible ways that may help you fix a DNS leak.

1. Change your DNS server and get a static IP

Why shouldn’t you use your ISP provider’s DNS server?

As we mentioned above, your default ISP can spy on your activities and behaviors and collect your data on the Internet. In some cases, DNS provided by your ISP can be slow because of huge usage and doesn’t have strong encryption.

So what are the solutions here?

There are some best free, public, and security-centric DNS servers such as Google Public DNS, OpenDNS, and Cloudflare that may help you get safer and higher security.

These addresses below may be useful for you if using public DNS servers.

Google Public DNS

  • Preferred DNS server: 8.8.8.8
  • Alternate DNS server: 8.8.4.4

OpenDNS

  • Preferred DNS server: 208.67.222.222
  • Alternate DNS server: 208.67.222.220

Cloudflare

  • Preferred DNS server: 1.1.1.1
  • Alternate DNS server: 1.0.0.1

Below is an example of how you can change your default DNS server into a new DNS server on a Windows 10 computer. In case you use another operating system, search for how to change DNS on your OS.

1. Open Windows Start Menu

2. Click Settings

3. Select Network & Internet

4. Click Change adapter options

5. Click on the connection you want to change the DNS server for

The network connection that you’re using is displayed by green bars while others that you’re not connected to are displayed by red X. Choose the connection you want to change the DNS for. If you’re connected via Wi-Fi, select Wi-Fi. If you’re connected via Ethernet, select it.

6. Select Properties

7. Select Internet Protocol Version 4 (TCP/IPv4)

8. Click Properties

9. Select Use the following DNS server addresses

10. Enter a new DNS server (e.g. Google Public DNS).
Add the alternate DNS server if you want.

11. Click OK


Doing the same process as this if you use Internet Protocol Version 6.

Easy to follow, right?

However, it’s not enough to stay safe. Getting a static IP which is a single fixed one. So your request including the DNS request will route to this IP address. So, the website just knows the address of this IP and doesn’t know about the real sender who is you. Then, you will be safe.

2. Use VPN

VPN (Virtual Private Network) can hide your IP address and encrypt all your Internet traffic. When you connect to VPN, all your queries will go over an encrypted tunnel, thereby, the ISP, hackers even governments can not track you.

There are some popular VPN services such as NordVPN, ExpressVPN, ProtonVPN,… that you can take a look at. NordVPN is best recommended for you from our experience using it. This is the guide on how to set up a NordVPN manually.

Just remember to configure the VPN service you choose accurately to avoid leaking DNS. Make sure that you use only the DNS server that the VPN service provides to you when connecting to your VPN. Use the latest version.

Better than that, you can find a VPN client with built-in DNS leak protection. Best solution!

    
        Check your IP reputation and grab the best deals today!     
             Get started with IPFighter     

Read more

blog thumbnail

Explaining how to know if you have a DNS leak

Running a DNS leak test and seeing a table full of server addresses can be hard to make sense of without knowing what to compare it against. This guide walks you through how to know if you have a DNS leak by reading IPFighter's DNS leak test results in detail, and what to do depending on what you find.  Show more
Julian Vance avatar
Julian Vance
blog thumbnail

How to know if you have a WebRTC leak: Reading your results

Running a WebRTC leak test and seeing a wall of server names and IP addresses can be confusing if you don't know what you're looking at. This guide walks you through exactly how to know if you have a WebRTC leak by reading IPFighter's test results in detail, and what to do depending on what you find.  Show more
Julian Vance avatar
Julian Vance
blog thumbnail

How to improve IP score: A complete guide

If your IP score on IPFighter shows anything below "Good", it's easy to see the number and not know what to do with it. This guide walks you through exactly what your IP Score results mean from the overall percentage to the platform-by-platform breakdown and what steps to take depending on what's actually causing your score to be low.  Show more
Julian Vance avatar
Julian Vance
blog thumbnail

What is an IP fraud score? Reading the 0-100 scale

Are you wondering what the ip fraud score is and how to read it? In this guide, IPFighter explains what an IP fraud score is, the factors that influence it, how to interpret different score ranges, why it matters for online activities, and how to reduce the risk associated with your IP address. You'll also learn where to check IP fraud score before using an IP for sensitive tasks such as account creation, automation, or web scraping.  Show more
Julian Vance avatar
Julian Vance
blog thumbnail

Mastering WebRTC control to prevent browser privacy leaks

Using a VPN or proxy doesn't always guarantee that your real IP address stays hidden. Without proper WebRTC control, your browser may still expose network information that websites can use to identify you.  In this guide, IPFighter explains what WebRTC control is, how it works, and the best ways to prevent WebRTC leaks across different browsers.  Show more
Julian Vance avatar
Julian Vance
blog thumbnail

What is a localhost IP? Understanding 127.0.0.1 in development

Many developers and beginners often encounter the term localhost IP address when working with tools like XAMPP, Docker, Node.js, or local web servers. At the same time, many users are confused when they can't access their locally hosted websites or don't understand why the 127.0.0.1 address keeps appearing during development. In this guide, IPFighter explains what a localhost IP is, how 127.0.0.1 works, why localhost is important in modern web development, and how to troubleshoot some of the most common localhost connection issues.  Show more
Julian Vance avatar
Julian Vance