INTELREAP
DNS & Performance

How to Fix Slow DNS Lookup

Time your own resolver, compare public ones from your browser, and switch only if one is clearly faster.

Last updated 6 November 2026
285 data pointsper scan
13 intelligence panelsper report
No account neededfree to use
Quick Answer

Time your resolver first, then switch only if a public one is clearly faster

A slow DNS lookup is a delay in turning a website name into an IP address. Time your current resolver with dig or PowerShell, then use the check on this page to compare public resolvers from your location. Switch only if one is clearly faster, then flush the DNS cache and check your VPN and router.

01 Compare Public DNS Resolvers From Where You Are

Public resolver check

Compares how fast Cloudflare and Google public DNS answer from your browser: your round trip, a new name, and the difference.

This tests public resolvers only. A browser cannot see which DNS server your device uses, so it cannot time your current one. See "Time your own resolver" below.

Live Network panel

Check the connection underneath

DNS is only one part of speed. The Live Network panel shows latency, jitter and packet loss, which tell you whether the problem is DNS or the connection itself.

02 What a DNS Lookup Is and Why It Gets Slow

Every website you open has a name, and computers route by number. A DNS lookup is the step that turns the name into an IP address. Your device asks a resolver, usually run by your ISP or a public provider. If the resolver already knows the answer it replies at once. If it does not, it walks from the root servers to the top-level domain and then to the server that owns the name, as defined in RFC 1034 and RFC 1035.

Sequence of a DNS lookup between device, resolver, root, .com and name serversDeviceResolverRoot server.com serverName serverOnly on a cache miss1 Where is example.com?2 Who runs .com?ask the .com servers3 Where is example.com?ask its name servers4 Where is example.com?192.0.2.105 Answer: 192.0.2.10On a cache hit the resolver skips steps 2 to 4 and answers at once.DNS lookup in five steps; steps two to four only on a cache miss1 Device asks its resolverWhere is example.com?2 Resolver asks a root serverWho runs .com?Reply: ask the .com servers3 Resolver asks the .com serverWhere is example.com?Reply: ask its name servers4 Resolver asks the name serverWhere is example.com?Reply: 192.0.2.105 Resolver answers your device192.0.2.10, remembered for the TTLShaded steps 2 to 4 happen only when theresolver has no cached answer.
The resolver does the legwork: it asks each level in turn, hands you one answer and remembers it.

Resolvers keep answers for a time set by each record, called the TTL. That is why a site you visit often loads its name quickly, and a name you have never asked for takes longer. Your browser, your operating system and often your router keep their own caches on top of that.

Lookup time matters because it comes first. Nothing else about a page can start until the name has an address, so a slow lookup delays every new site you open.

Two page-load timelines: a 20 ms DNS lookup finishes at 190 ms, a 400 ms lookup at 570 msThe same page load, with two different DNS speedsFast DNS20 ms lookup190 ms totalSlow DNS400 ms lookup570 ms totalDNSthen TCP 30, TLS 40, request 20, response 80 ms (same in both)Numbers are illustrative.Two page-load timelines on one scale: a 20 ms DNS lookup versus a 400 ms lookupFast DNS: 190 ms in totalDNS 20 msTCP 30 msTLS 40 msRequest 20 msResponse 80 msSlow DNS: 570 ms in totalDNS 400 msTCP 30 msTLS 40 msRequest 20 msResponse 80 msBoth blocks use the same scale.Numbers are illustrative.
Same page, same connection: only the DNS step differs. Everything after it waits.

03 What Counts as Slow

A lookup includes the trip to the resolver, so raw numbers depend on where you are. The fix is to compare two lookups of the same kind. The tool above reports a penalty: the time for a new name minus your fastest round trip to the resolver. You can do the same for your own resolver with the commands further down: the first lookup of a site you rarely visit, minus the second, is the resolver's own work.

Rule of thumb for the penalty
PenaltyWhat it usually meansNext step
Under 100 msNormal. The resolver is doing its jobNothing to fix here
100 to 300 msNoticeable on new sitesCompare with another resolver
Over 300 msSlow. Often a distant, overloaded or partly failing resolverCompare resolvers, switch if one is clearly faster, then retest

These ranges are this page's own rule of thumb, not an industry standard. Also look at the round trip. If it is already about 150 ms or more, which can happen on mobile networks or far from the resolver (a second rule of thumb), distance dominates every lookup, and a resolver run by your ISP can be closer and faster than a public one.

04 Common Causes of Slow Lookups

Most slow lookups trace back to a short list of causes. A distant or overloaded resolver is a frequent one. An unresponsive DNS server in your list is the classic hidden one: the device waits for it to time out before trying the next, so some lookups take seconds. An unreachable IPv6 DNS server causes the same wait before the device falls back to IPv4. Routers that forward DNS can add delay or get stuck, VPN and security software can redirect lookups to their own servers, and a browser's own Secure DNS setting can bypass the DNS your device is set to use.

Causes of slow DNS placed on the path from device to router to resolverYour deviceVPN or security appredirects lookups elsewhereBrowser Secure DNScan bypass your device settingYour routerDNS forwarder adds delayor gets stuckThe resolverDistant or overloadedresolverUnresponsive DNS server:lookups wait for a timeoutA lookup travels left to right. The delay can sit at any stop, so fix the one that is slow.Causes of slow DNS grouped by where they occur: device, router, resolverYour deviceVPN or security appredirects lookups elsewhereBrowser Secure DNScan bypass your device settingYour routerDNS forwarder adds delayor gets stuckThe resolverDistant or overloadedresolverUnresponsive DNS server:lookups wait for a timeoutA lookup travels down this path. Fix the stop wherethe delay sits.
Where each cause sits on the path from your device to the resolver.

If pages also stall after the name resolves, the cause is probably not DNS. Our guide to why internet speed fluctuates covers congestion and Wi-Fi problems that look similar.

05 Time Your Own Resolver

The browser check cannot see your current resolver, so time it from the command line. Use a site you rarely visit, because a popular name is probably already cached. Run each timing twice: the first run is the resolver doing the full lookup, the second is answered from the resolver's cache, and the difference is the resolver's own work. Your device must not answer the repeat itself, so clear its cache before each run where it keeps one.

  1. Mac: run dig sitename.com, read the Query time line, then run it again. dig asks the resolver directly, so no flush is needed. To compare, run dig sitename.com @1.1.1.1 or dig sitename.com @8.8.8.8 the same way.
  2. Linux: use the same dig commands. If your system uses systemd-resolved, run resolvectl flush-caches before each one, because dig then asks a local service that remembers answers. If dig is not installed, add your distribution's DNS utilities package.
  3. Windows: run ipconfig /flushdns, then Measure-Command { Resolve-DnsName sitename.com -Type A } in PowerShell and read TotalMilliseconds. The -Type A asks for one record, as dig does. Flush again and repeat. Flushing before each run stops Windows answering from its own cache. To compare, flush, then add -Server 1.1.1.1 to the same command and repeat the same way. If Windows refuses the flush, open PowerShell as administrator.
Decision flow: time your own resolver, compare with public ones, switch only if one is clearly fasterPages feel slowTime your current resolver(dig or PowerShell, twice,flush your cache first)First lookup about 100 msslower than the second?noResolver is fine. Check Wi-Fi, yourISP, your VPN and the browserSecure DNS settingyesRun the browser checkon public resolversIs one clearly fasterthan your resolver?yesSwitch to it, then retestnoKeep your resolver; checkrouter, ISP and VPNThresholds are this page's rule of thumb.Decision flow: time your own resolver, compare with public ones, switch only if one is clearly fasterPages feel slowTime your current resolver(dig or PowerShell, twice,flush your cache first)First lookup about 100 msslower than the second?noResolver isfine. CheckWi-Fi, ISP, VPNand browserSecure DNSyesRun the browser checkon public resolversIs one clearly fasterthan your resolver?yesSwitch to it,then retestnoKeep your resolver;check router, ISP, VPNThresholds are this page's rule of thumb.
Time your own resolver first, then compare it with public ones.

06 Fix 1: Change the DNS Resolver

Switching helps when your current resolver is the slow part. It does not help if the new one is far from you, so compare before and after. Three widely used public resolvers are listed below. Set one on a single device, or on the router so every device that uses it benefits.

Changing DNS on one device versus on the routerSet on one deviceonly that device changesLaptopown settingChosenresolverPhoneRouterISPresolverTVRouterISPresolverSet on the routerevery device that uses it changesLaptopRouterChosenresolverPhoneRouterChosenresolverTVRouterChosenresolverChosen resolver means the one you pick, such as 1.1.1.1, 8.8.8.8 or 9.9.9.9.Changing DNS on one device versus on the routerSet on one deviceonly that device changesLaptopown settingChosenresolverPhoneRouterISPresolverTVRouterISPresolverSet on the routerevery device that uses it changesLaptopRouterChosenresolverPhoneRouterChosenresolverTVRouterChosenresolverChosen resolver means the one you pick, such as1.1.1.1, 8.8.8.8 or 9.9.9.9.
Public resolvers compared
ResolverAddressesNotes
Cloudflare1.1.1.1, 1.0.0.1. Android name: one.one.one.oneGeneral purpose, supports DNS over HTTPS
Google Public DNS8.8.8.8, 8.8.4.4. Android name: dns.googleGeneral purpose, supports DNS over HTTPS
Quad99.9.9.9, 149.112.112.112. Android name: dns.quad9.netBlocks known malicious domains
Your ISPAssigned automaticallyVaries by provider
Where to change DNS
DeviceWhereWhat to enter
Windows 11Settings, Network & internet, then Wi-Fi or Ethernet, open the connection properties, DNS server assignment, EditChoose Manual, turn on IPv4, enter preferred and alternate addresses
MacSystem Settings, Network, your connection, Details, DNSAdd addresses with the plus button
iPhone and iPadSettings, Wi-Fi, the info icon next to your network, Configure DNSChoose Manual and add servers. This applies to that Wi-Fi network only, not to mobile data
AndroidLook for Private DNS in the network or connection settings (names vary by maker)Choose the private DNS provider and enter the name from the table above. It applies on every network, including mobile data
RouterRouter admin page, Internet or WAN settingsEnter primary and secondary DNS. See the router IP guide to sign in

After changing it, flush the cache (next section) and repeat your measurement. To undo, set the connection back to automatic.

07 Fix 2: Flush the DNS Cache

A cache can hold a bad or outdated answer. Flushing clears it. This is quick and safe, and your device simply asks again.

Flush commands
SystemCommand
Windowsipconfig /flushdns
macOSsudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
Linux (systemd-resolved)resolvectl flush-caches

Browsers keep a separate cache. Restarting the browser clears it.

08 Fix 3: Check Your VPN, Router and Security Software

A VPN usually sends lookups to its own servers, so a slow VPN resolver means slow lookups even when your own is fast. Turn the VPN off and test again. The VPN and Proxy panel shows whether your connection is routed through one. Then restart the router, since its DNS forwarder can get stuck, and check whether security or parental-control software filters DNS.

Frequently Asked Questions

Twelve questions on DNS lookup time, resolvers and fixes.

It is the step that turns a website name into an IP address so your device knows where to connect.
It depends on your distance from the resolver, so compare a first lookup with a repeat of the same name. A difference under about 100 ms is normal on this page's rule of thumb.
It can speed up the lookup step if the new resolver answers faster from where you are, so new sites open sooner. It does not raise your download speed, and a slower resolver makes lookups worse, so compare first.
It is common on mobile networks and for users far from the resolver. It means distance, not DNS work, dominates. A resolver closer to you, often your ISP's own, may be faster, so compare at the device before switching.
It varies by location and network. Run the public resolver check, time your own resolver with dig or PowerShell, then compare. Cloudflare, Google and Quad9 are common choices.
Yes for most people, but the resolver sees the names you look up, so read its privacy policy. Quad9 also blocks known malicious domains.
The first lookup is uncached. After that, the answer is stored for the record's TTL, so repeat visits are faster.
Only if a stale or bad answer is stored. It will not fix a slow resolver, but it is quick and harmless.
Yes. A VPN usually sends lookups to its own servers, so a slow one slows everything. Test with the VPN off.
No. Browsers do not expose it, so the check tests public resolvers and you time your own with dig or PowerShell.
The browser may use its own Secure DNS provider, which ignores the DNS set on your device. Check the privacy or security settings of Chrome, Edge or Firefox.
It encrypts lookups between you and the resolver, which helps privacy on shared networks. It does not by itself make lookups faster.
Logic

Explain what a lookup is, define slow in a way that removes distance, list the causes, then separate measuring your own resolver from comparing public ones. Change DNS only when a comparison supports it, and measure again afterwards.

Methodology

The browser check sends DNS-over-HTTPS queries to Cloudflare and Google. It times one warm-up, seven repeat lookups of example.com (the fastest is your round trip) and five lookups of random new names (the median is the new-name time). It cannot see your current DNS server, so the commands in the page time that one. Penalty ranges are a rule of thumb, and results depend on your location and connection.

Sources & References
Share This Guide

Can't Find the IP Address You Need?

Describe your device and situation — we will point you to the right method. We respond within two business days.