How to fix a DNS leak

avatar
|

A DNS leak means your DNS requests are going outside your VPN or proxy. Here is how to fix it and confirm the fix.

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

how to fix dns leak 1

3. Select Network & Internet

how to fix dns leak 2

4. Click Change adapter options

how to fix dns leak 3

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

how to fix dns leak 4

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

how to fix dns leak 5
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 for free.     
             Get started with IPFighter     

Read more

blog thumbnail

What is a clean IP address and how does it work?

An IP address can affect how websites, online services, and security systems evaluate a connection. That is why terms such as "clean IP" and "IP pure" often appear when people discuss proxies, account access, email delivery, and online privacy. But what makes an IP address clean, and how can you check whether yours has a good reputation? In this guide, IPFighter explains what a clean IP means, which factors influence IP reputation, how to check an IP address, and what you can do if it appears on a blacklist. It also clarifies the differences between a clean IP, a fresh IP, and a dedicated IP so you can choose an address that suits your needs.  Show more
Julian Vance avatar
Julian Vance
blog thumbnail

What is Scamalytics? 4 Fraud Score risk levels

Scamalytics is an IP fraud risk assessment service that assigns Fraud Scores ranging from 0 to 100, divided into four risk levels from low to very high. According to Scamalytics, these scores are calculated based on confirmed fraud reports collected through its partner network. This means an IP can receive a high score even if it has never been directly reported, for example, when it belongs to the same network as IPs with a history of fraudulent activity. In this article, IPFighter will explain what Scamalytics is, how its system evaluates IP addresses, what each Fraud Score level means, and how to check an IP on the website. You'll also learn how to identify the reasons behind a high score, choose appropriate solutions, and understand the limitations of using Scamalytics.  Show more
Julian Vance avatar
Julian Vance
blog thumbnail

DNS blacklist: How to check and remove your IP

Have you ever sent an email that never reached your customer's inbox, even though its content was completely legitimate? Your IP address or domain may have been listed on a DNS Blacklist, causing receiving mail servers to reject your emails. This not only affects email deliverability but can also disrupt your business operations. In this article, IPFighter will show you how to check your IP against popular DNS Blacklists, interpret the results, and resolve blacklist issues. You'll learn how to identify the underlying causes and submit a delisting request to have your IP removed from a blacklist.  Show more
Julian Vance avatar
Julian Vance
blog thumbnail

Why Google says "Unusual traffic from your computer network"

Running into Google's "Our systems have detected unusual traffic from your computer network" alert can instantly halt your workflow - even when you are simply conducting routine web searches. Contrary to common belief, this warning rarely means your device is compromised; instead, it signals that Google's anti-bot algorithms are flagging high-volume requests from your shared connection, proxy, or active VPN node. In this guide, IPFighter breaks down the underlying triggers behind this network alert and provides actionable steps to resolve it. You will learn how to troubleshoot flagged IP addresses, audit browser configuration issues, and restore uninterrupted access to Google Search.  Show more
Julian Vance avatar
Julian Vance
blog thumbnail

Anonymous proxy detected: Causes and how to fix it

Encountering the “anonymous proxy detected” warning while browsing can abruptly halt your workflow even when your internet connection is fully stable. This alert simply flags your proxy or VPN connection, indicating that your connection method has been identified by the site. In this article. IPFighter breaks down the core causes behind the issue and walks you through actionable troubleshooting steps to resolve the block.  Show more
Julian Vance avatar
Julian Vance
blog thumbnail

"Before we continue… Press & Hold": Why you see this check

Have you encountered a message saying “Before we continue… Press & Hold to confirm you are a human (and not a bot)” while trying to access a website? This press and hold CAPTCHA asks you to hold a button until the verification process finishes, but sometimes the challenge fails or keeps appearing even after you complete it. In this guide, IPFighter explains what the check means, how to troubleshoot common failures, and how to recognize fake CAPTCHA pages.  Show more
Julian Vance avatar
Julian Vance