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.
| # | DNS service | Address | Cached | Uncached | |
|---|---|---|---|---|---|
| 1 | Cloudflare Fast, privacy-focused | 1.1.1.1 / 1.0.0.1 | – | – | |
| 2 | Google Public DNS Fast, very reliable | 8.8.8.8 / 8.8.4.4 | – | – | |
| 3 | Quad9 Blocks malware domains | 9.9.9.9 / 149.112.112.112 | – | – | |
| 4 | AdGuard DNS Blocks ads and trackers | 94.140.14.14 / 94.140.15.15 | – | – | |
| 5 | OpenDNS (Cisco) Optional phishing filter | 208.67.222.222 / 208.67.220.220 | – | – | |
| 6 | CleanBrowsing Family Blocks adult content | 185.228.168.168 / 185.228.169.168 | – | – | |
| 7 | Control D Unfiltered free resolver | 76.76.2.0 / 76.76.10.0 | – | – | |
| 8 | NextDNS 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
- Connect to the network you want to test (home WiFi, PTCL, StormFiber, Nayatel, or Jazz/Zong 4G) and close large downloads.
- 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.
- 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.
- 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
| Service | IPv4 addresses | Android Private DNS | Best for |
|---|---|---|---|
| Cloudflare | 1.1.1.1 / 1.0.0.1 | one.one.one.one | Fast, privacy-focused |
| Google Public DNS | 8.8.8.8 / 8.8.4.4 | dns.google | Fast, very reliable |
| Quad9 | 9.9.9.9 / 149.112.112.112 | dns.quad9.net | Blocks malware domains |
| AdGuard DNS | 94.140.14.14 / 94.140.15.15 | dns.adguard-dns.com | Blocks ads and trackers |
| OpenDNS (Cisco) | 208.67.222.222 / 208.67.220.220 | – | Optional phishing filter |
| CleanBrowsing Family | 185.228.168.168 / 185.228.169.168 | family-filter-dns.cleanbrowsing.org | Blocks adult content |
| Control D | 76.76.2.0 / 76.76.10.0 | p0.freedns.controld.com | Unfiltered free resolver |
| NextDNS | Personal config needed | dns.nextdns.io | Custom 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)
- Open Settings → Network & internet (Samsung: Connections → More connection settings).
- Tap Private DNS and choose Private DNS provider hostname.
- Type
one.one.one.one(Cloudflare) ordns.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
- Settings → WiFi → tap the (i) next to your network.
- Configure DNS → Manual, delete the existing entries and add
1.1.1.1and8.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
- Settings → Network & internet → WiFi (or Ethernet) → your network → Hardware properties.
- Next to DNS server assignment, click Edit, choose Manual, turn on IPv4.
- Preferred DNS
1.1.1.1, Alternate DNS8.8.8.8. On Windows 11 you can set DNS over HTTPS to On (automatic template). Save. - Open Command Prompt and run
ipconfig /flushdnsto clear old entries.
How to change DNS on a PTCL router (whole house)
- Open 192.168.10.1 and log in.
- Look for LAN → DHCP Server (Huawei: LAN → DHCP Server Configuration; ZTE: Local Network → LAN → DHCP Server).
- Set Primary DNS to
1.1.1.1and Secondary DNS to8.8.8.8, then Apply. - 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 /flushdnson 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.