Replacing your default DNS Server pre-configured by your ISP is the good way for:
Access websites are blocked in your country.
Lower latency in querying DNS Record.
Block some ads by third-party DNS.
In this article, I will check latency from 5 DNS Server that might be the best in the world:
Google DNS
Cloudflare DNS
Quad9 DNS.
OpenDNS.
AdGuard DNS.
Here is the table of features:
Latency check
I have checked latency when quering devops.airwallet365.com from 5 DNS Servers, the results as below:
Google DNS: 96 ms, 132 ms, 73 ms, 75 ms, 193 ms.
Cloudflare DNS: 55 ms, 65 ms, 64 ms, 55 ms, 66 ms.
Quad9 DNS: 58 ms, 188 ms, 100 ms, 82 ms, 86 ms.
Adguard DNS: 61 ms, 89 ms, 63 ms, 70 ms, 56 ms.
OpenDNS: 62 ms, 63 ms, 64 ms, 64 ms, 66 ms.
After this round, you can see the order: Average latency, lower is better:
Cloudflare DNS: 61 ms
OpenDNS: 63.8 ms
AdGuard DNS: 67.8 ms
Quad9 DNS: 102.8 ms
Google DNS: 113.8 ms
Double check again, I query hub.docker.com. The results as below:
Google DNS: 66 ms, 70 ms, 78 ms, 64 ms, 79 ms.
Cloudflare DNS: 52 ms, 62 ms, 67 ms, 63 ms, 59 ms.
Quad9 DNS: 113 ms, 133 ms, 69 ms, 86 ms, 116 ms.
Adguard DNS: 81 ms, 85 ms, 62 ms, 63 ms, 55 ms.
OpenDNS: 59 ms, 56 ms, 61 ms, 57 ms, 59 ms.
After the second round, you can see the order: Average latency, lower is better:
OpenDNS: 58.4 ms
Cloudflare DNS: 60.6 ms
AdGuard DNS: 69.2 ms
Google DNS: 71.4 ms
Quad9 DNS: 103.4 ms
As you can see from the results, OpenDNS & Cloudflare DNS have better performance than the other three.
Google DNS
IPv4:
8.8.8.8
8.8.4.4
IPv6:
2001:4860:4860::8888
2001:4860:4860::8844
DNS over HTTPS (DoH):
https://dns.google/dns-query – RFC 8484 (GET and POST)
https://dns.google/resolve? – JSON API (GET)
DNS over TLS (DoT):
tls://dns.google
Cloudflare DNS
IPv4:
1.1.1.1
1.0.0.1
IPv6:
2606:4700:4700::1111
2606:4700:4700::1001
DNS over HTTPS (DoH):
https://cloudflare-dns.com/dns-query
DNS over TLS (DoT):
tls://cloudflare-dns.com
Quad9
IPv4:
9.9.9.9
149.112.112.112
IPv6:
2620:fe::fe
2620:fe::9
DNS over HTTPS (DoH):
https://dns.quad9.net/dns-query
DNS over TLS (DoT):
tls://dns.quad9.net
AdGuard DNS
IPv4:
94.140.14.14
94.140.15.15
IPv6:
2a10:50c0::ad1:ff
2a10:50c0::ad2:ff
DNSCrypt:
sdns://AQIAAAAAAAAAFDE3Ni4xMDMuMTMwLjEzMDo1NDQzINErR_JS3PLCu_iZEIbq95zkSV2LFsigxDIuUso_OQhzIjIuZG5zY3J5cHQuZGVmYXVsdC5uczEuYWRndWFyZC5jb20
DNS over HTTPS (DoH):
https://dns.adguard.com/dns-query
DNS over TLS (DoT):
tls://dns.adguard.com
OpenDNS
IPv4:
208.67.222.222
208.67.220.220
IPv6:
2620:119:35::35
2620:119:53::53
DNS over HTTPS (DoH):
https://doh.opendns.com/dns-query
留言