How to fix slow DNS lookup usually starts with one annoying symptom: the internet looks connected, but websites still pause before they load.
The page eventually opens, so it may not feel like a full internet outage, but those few seconds can make browsing, working, or streaming feel painfully slow. The tricky part is that DNS is only one possible cause.
This guide shows how to confirm whether DNS is really the problem, then walk through the fixes that can make websites start loading faster.
1. Check If DNS Lookup Is Really the Problem
Before trying different solutions, confirm that DNS is actually causing the delay. Begins with understanding where the slowdown happens, because a slow website isn’t always caused by DNS. The web server, browser extensions, or even your internet connection may be responsible instead.
Start by opening several popular websites such as Google, Wikipedia, and YouTube. If each page pauses before loading but becomes responsive afterward, how to fix slow DNS lookup is worth investigating because the delay may be happening during DNS lookup, connection setup, TLS negotiation, or another early stage of loading.
This is only a quick symptom check. For a more reliable test, compare the DNS lookup time in your browser’s network tools or run a DNS query test with nslookup or dig.
Next, test another device connected to the same Wi-Fi network. If both devices experience identical delays, the problem is probably related to your router, ISP connection, or DNS resolver rather than one computer.
A more accurate way to confirm DNS delay: Open Chrome DevTools, go to the Network panel, load a site, select a request, and open the Timing tab to check whether DNS lookup is taking unusually long. You can also run nslookup example.com and compare it with another resolver, such as nslookup example.com 1.1.1.1 or nslookup example.com 8.8.8.8.

2. The Fastest Ways to Fix Slow DNS Lookup
Once you’ve confirmed the issue, start with the simplest solutions first. In many cases, how to fix slow DNS lookup doesn’t require advanced networking knowledge.
Restart your browser and router: Temporary software or network glitches often disappear after restarting both devices.
Flush the DNS cache: Old or negative cached DNS entries can cause lookup problems. On Windows, ipconfig /flushdns flushes and resets the DNS client resolver cache.
Test another DNS resolver: Compare your current DNS server with another trusted provider to see whether website response times improve.
Switch to a faster public DNS if needed: If your ISP’s DNS resolver is slow, test providers such as Cloudflare 1.1.1.1 / 1.0.0.1, Google Public DNS 8.8.8.8 / 8.8.4.4, or Quad9 9.9.9.9 / 149.112.112.112.
Disable your VPN or proxy temporarily: Some VPN services send DNS requests through distant servers, increasing lookup time before websites begin loading.
Check whether the issue affects one device or the whole network: If every device behaves the same way, focus on your router or ISP rather than troubleshooting individual computers.
>>> Read more: Search Google or Type a URL: Clear Meaning and Fixes
3. Device-Level DNS Fixes
If only one computer is affected, these troubleshooting steps are usually the fastest place to start. Following how to fix slow DNS lookup methodically helps avoid unnecessary network changes.
Flush your DNS cache
Step 1: Open Command Prompt on Windows or Terminal on macOS.
Step 2: On Windows, run ipconfig /flushdns. On macOS, the command can vary by version, so use the current command recommended for your macOS version or restart the Mac if you are not comfortable using Terminal.
Step 3: Wait for the confirmation message.
Step 4: Restart your browser and test several websites again. How to fix slow DNS lookup often starts with this simple step because it removes outdated DNS records stored on your device.
Clear browser DNS/Cache data
Step 1: Open your browser’s settings.
Step 2: Clear cached images and files if the issue appears browser-specific.
Step 3: If the browser has a DNS or host cache option, clear it separately, then restart the browser.
Step 4: Restart the browser and compare website loading speeds.
Change DNS servers
Step 1: Open your network adapter settings.
Step 2: Select your active internet connection.
Step 3: Enter your preferred DNS server addresses. Use both primary and secondary DNS addresses, such as Cloudflare 1.1.1.1 and 1.0.0.1, Google 8.8.8.8 and 8.8.4.4, or Quad9 9.9.9.9 and 149.112.112.112.
Step 4: Save the changes and reconnect to the network. If lookup times and first-load delays improve consistently across several sites, the slow resolver was likely part of the problem.
Restart network adapter or reconnect Wi-Fi
Step 1: Disconnect from Wi-Fi or disable the network adapter.
Step 2: Wait about 10 seconds.
Step 3: Reconnect to the network.
Step 4: Visit several websites and compare loading times. This final check confirms whether how to fix slow DNS lookup has improved before moving on to router-level troubleshooting.

4. Router and Network-Level Fixes
If every device on your network experiences the same delay, the issue is likely outside a single computer. At this point, check your router settings or the DNS service your network is using.
Restart or Update the Router
Step 1: Power down the router, then remove the power cable from the outlet.
Step 2: Wait at least 30 seconds before plugging it back in.
Step 3: Allow the router to reconnect completely to the internet.
Step 4: Log in to the router’s admin page and check whether a firmware update is available. Only install firmware from the router manufacturer’s official admin interface or official support page.
Step 5: After the router restarts, test several websites again. Following how to fix slow DNS lookup in this order helps eliminate temporary router issues before changing other settings.
Change DNS at the Router Level
Step 1: Open your router’s administration page using its local IP address.
Step 2: Navigate to the Internet, WAN, or DNS settings.
Step 3: Replace the current DNS server addresses with your preferred provider. Write down or screenshot the original DNS settings first so you can restore them if the new resolver causes issues.
Step 4: Save the settings and restart the router.
Step 5: Reconnect your devices and compare website loading speeds.
Check ISP DNS Performance
Step 1: Test website loading while using your ISP’s default DNS server.
Step 2: Temporarily switch to another trusted DNS provider. Use the same test sites and compare first-load behavior, not just overall download speed.
Step 3: Browse several websites that previously loaded slowly.
Step 4: If performance improves consistently, keep using the faster DNS provider.
Test Cloudflare, Google, or Another Trusted Resolver
Step 1: Select a trusted public DNS service.
Step 2: Configure the DNS settings on your router or computer.
Step 3: Restart your browser or reconnect to the network.
Step 4: Test multiple websites over several minutes.
Step 5: If browsing consistently starts faster, replacing an underperforming resolver may have helped. If nothing changes, the bottleneck is probably not DNS.
>>> Read more: How to Use Google Authenticator Transfer to Move Your 2FA Codes
5. Hidden Causes People Often Miss
Even after changing DNS settings, some issues remain because the real cause is hidden elsewhere. Knowing these possibilities makes how to fix slow DNS lookup much more systematic.
- VPN or proxy routing DNS slowly
Some VPN providers send DNS requests through servers in another country before resolving website addresses. This extra distance increases lookup time even if your download speed is fast.
- DNS over HTTPS misconfiguration
DNS over HTTPS can improve privacy by encrypting DNS queries, but browser-level DoH and operating-system DNS settings can sometimes conflict or behave differently from the router’s DNS settings. Mozilla notes that DoH can be slower in some cases, although its testing found the impact is usually minimal and often faster.
- IPv6 delays or fallback issues
IPv6 configuration issues can sometimes make early connection setup feel slow, especially if a device or network tries one path before falling back to another. Do not disable IPv6 as a first step; test carefully or restore the setting if it does not help.
- Security software filtering DNS
Some antivirus or internet security applications inspect every DNS request. If the software is outdated or configured incorrectly, website lookups may become noticeably slower. Temporarily disable only for testing if you know how to do so safely, then turn protection back on.
- Router using an old or unreachable DNS server
Routers occasionally retain outdated DNS settings after an ISP changes its infrastructure. Updating the configured DNS server often resolves the issue. Before making advanced network changes, how to fix slow DNS lookup should always include checking your router configuration.
6. FAQ
What is a good DNS lookup time?
There is no single perfect DNS lookup time because distance, resolver location, cache status, and network conditions all matter. As a practical rule, lookups that consistently take tens of milliseconds usually feel fast, while repeated delays in the hundreds of milliseconds can make pages feel slow. Compare your current resolver against another trusted resolver instead of relying on one number.
Can a VPN cause slow DNS lookup?
Yes. Some VPN services route DNS requests through remote servers, increasing the time needed to resolve website addresses. If browsing becomes noticeably faster after disconnecting the VPN, it may be contributing to the delay. Test with the same VPN server, then a nearby server, then no VPN to compare.
Does changing DNS make the Internet faster?
No. Changing DNS doesn’t increase your internet bandwidth or download speed. However, it can reduce the time required to locate websites, making pages appear to open more quickly.
Is it safe to flush DNS cache?
Yes. Flushing the DNS cache removes locally stored DNS records so your computer can request fresh information. It does not delete personal files, passwords, or saved Wi-Fi networks. On Windows, Microsoft describes ipconfig /flushdns as flushing and resetting the DNS client resolver cache.
Conclusion
A slow DNS lookup can make a fast connection feel broken, but changing random settings is not the best first move.
Once you know how to fix slow DNS lookup, start by testing whether DNS is actually causing the delay, then try simple steps like restarting your router, flushing the DNS cache, or comparing trusted DNS resolvers.
If those fixes do not improve first-load speed, the real issue may be your browser, VPN, Wi-Fi, security software, ISP connection, or the website itself.



