DNS Speed Test

DNS speed test

Times real DNS lookups from your browser to 8 public DNS services, for popular sites (usually cached) and random new names (forces a fresh lookup). Takes about 20 seconds.

Press Start to compare DNS serversThe fastest server for your connection will be shown first, with its setup address.
#DNS serviceAddressCachedUncached
1Cloudflare
Fast, privacy-focused
1.1.1.1 / 1.0.0.1––
2Google Public DNS
Fast, very reliable
8.8.8.8 / 8.8.4.4––
3Quad9
Blocks malware domains
9.9.9.9 / 149.112.112.112––
4AdGuard DNS
Blocks ads and trackers
94.140.14.14 / 94.140.15.15––
5OpenDNS (Cisco)
Optional phishing filter
208.67.222.222 / 208.67.220.220––
6CleanBrowsing Family
Blocks adult content
185.228.168.168 / 185.228.169.168––
7Control D
Unfiltered free resolver
76.76.2.0 / 76.76.10.0––
8NextDNS
Custom filtering
Personal config needed––

Measured as DNS-over-HTTPS over an already-open connection, the same way Android Private DNS and Chrome Secure DNS work. Your ISP's own DNS cannot be reached from a web page, so it is not in the list.

How to use the DNS speed test

  1. Connect to the network you want to test (home WiFi, PTCL, StormFiber, Nayatel, or Jazz/Zong 4G) and close large downloads.
  2. Press Start DNS test. Each DNS service gets a warm-up lookup, then six lookups of popular names and four of random, never-seen names.
  3. Read the table. Cached is how fast the server answers for popular sites, which is most of your daily browsing. Uncached shows how fast it fetches a name it has never seen.
  4. The winner appears at the top with its address. Run the test two or three times, ideally including the evening, before switching.

What is DNS and why does its speed matter?

The Domain Name System turns names like youtube.com into IP addresses that your device can connect to. Every new website, app server, image host and ad network needs a lookup before anything loads. A DNS server that takes 150 ms instead of 30 ms adds that delay to the start of every new connection, which is why a page can feel slow even on a fast line.

Changing DNS does not raise your Mbps. Download and upload speed depend on your package and line, which you can measure with the speed test. What a better DNS gives you is quicker page starts, fewer "DNS_PROBE_FINISHED" or "server not found" errors when the ISP's DNS is having problems, and optionally encryption and filtering.

Public DNS servers compared

ServiceIPv4 addressesAndroid Private DNSBest for
Cloudflare1.1.1.1 / 1.0.0.1one.one.one.oneFast, privacy-focused
Google Public DNS8.8.8.8 / 8.8.4.4dns.googleFast, very reliable
Quad99.9.9.9 / 149.112.112.112dns.quad9.netBlocks malware domains
AdGuard DNS94.140.14.14 / 94.140.15.15dns.adguard-dns.comBlocks ads and trackers
OpenDNS (Cisco)208.67.222.222 / 208.67.220.220–Optional phishing filter
CleanBrowsing Family185.228.168.168 / 185.228.169.168family-filter-dns.cleanbrowsing.orgBlocks adult content
Control D76.76.2.0 / 76.76.10.0p0.freedns.controld.comUnfiltered free resolver
NextDNSPersonal config neededdns.nextdns.ioCustom filtering

Cloudflare and Google run servers inside or close to Pakistan, so they are usually the fastest. Quad9, AdGuard and CleanBrowsing add security or content filtering, which some families prefer even if they are a few milliseconds slower.

How to change DNS on Android (Private DNS)

  1. Open Settings → Network & internet (Samsung: Connections → More connection settings).
  2. Tap Private DNS and choose Private DNS provider hostname.
  3. Type one.one.one.one (Cloudflare) or dns.google (Google) and tap Save.

Private DNS works on both WiFi and mobile data and encrypts your lookups (DNS-over-TLS), so the network cannot see which sites you look up.

How to change DNS on iPhone

  1. Settings → WiFi → tap the (i) next to your network.
  2. Configure DNS → Manual, delete the existing entries and add 1.1.1.1 and 8.8.8.8. Tap Save.

This applies to that WiFi network only. For encrypted DNS on all networks, install the free 1.1.1.1 app from Cloudflare.

How to change DNS on Windows 10 and 11

  1. Settings → Network & internet → WiFi (or Ethernet) → your network → Hardware properties.
  2. Next to DNS server assignment, click Edit, choose Manual, turn on IPv4.
  3. Preferred DNS 1.1.1.1, Alternate DNS 8.8.8.8. On Windows 11 you can set DNS over HTTPS to On (automatic template). Save.
  4. Open Command Prompt and run ipconfig /flushdns to clear old entries.

How to change DNS on a PTCL router (whole house)

  1. Open 192.168.10.1 and log in.
  2. Look for LAN → DHCP Server (Huawei: LAN → DHCP Server Configuration; ZTE: Local Network → LAN → DHCP Server).
  3. Set Primary DNS to 1.1.1.1 and Secondary DNS to 8.8.8.8, then Apply.
  4. Reconnect your devices (or restart WiFi on them) so they pick up the new DNS.

Some PTCL firmware locks these fields. In that case set DNS on each device instead; Android Private DNS is the easiest.

DNS problems and quick fixes

  • "DNS_PROBE_FINISHED_NXDOMAIN" or "DNS server not responding": switch to 1.1.1.1 or 8.8.8.8 and run ipconfig /flushdns on Windows.
  • Apps work but websites do not open: a classic DNS failure. Change DNS as above.
  • Some sites blocked: sites blocked by PTA order are blocked at network level in Pakistan; changing DNS does not and should not be used to get around legal blocks.
  • Everything is slow, not just page starts: it is not DNS. Check the packet loss test and ping test.

Frequently asked questions

Which DNS is fastest in Pakistan?

For most connections in Pakistan, Cloudflare 1.1.1.1 and Google 8.8.8.8 are the fastest public DNS servers because both have servers in or near Pakistan. The test above measures them from your own connection, which is the only reliable way to know.

Does changing DNS increase internet speed?

No. DNS only finds the address of a website. A faster DNS makes pages and apps start loading sooner, but it does not change your download or upload speed. A slow or failing DNS can make the internet feel broken even when the line is fine.

Is it safe to change DNS on my phone or router?

Yes, if you use a well-known public DNS such as Cloudflare, Google, Quad9 or AdGuard. You can switch back at any time. On Android, Private DNS also encrypts your lookups so your ISP cannot see the sites you look up.

What is the PTCL DNS server address?

PTCL routers get DNS servers automatically from PTCL when they connect, and the addresses can change. You can see the current ones on your router status page. Many users replace them with 1.1.1.1 and 8.8.8.8.

Mobile mein DNS kaise change karein?

Android mein Settings > Network > Private DNS mein jaa kar "one.one.one.one" ya "dns.google" likhein aur Save karein. iPhone par WiFi network ke (i) button mein Configure DNS > Manual se 1.1.1.1 aur 8.8.8.8 daalein.

More free tools