2018开放公共DNS服务质量评测(美国访问),也是电脑或者手机在美国。
DNS在平时上网中扮演重要角色,如果不注意的话,可能会导致网速慢、弹窗广告、网址打不开、打开不是自己想要的网站、劫持、墙中墙等一系列问题。针对DNS的问题,今天我们就来总结一下,看看哪个DNS服务器最好用!
注意:本测试仅通过奇云测对服务器进行综合测试,具体使用情况请以用户本地为主。
DNSPod:★★★★
DNSPod是目前国内第一家支持ECS的公共DNS,可为全网用户提供域名的公共递归解析服务!
DNS 服务器 IP 地址:
首选:119.29.29.29
备选:182.254.116.116
作者点评:查询138毫秒左右,说明在美国没有服务器,应该是回到香港服务器解析的!
# dig @119.29.29.29 www.weibo.com
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.4 <<>> @119.29.29.29 www.weibo.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11439
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.weibo.com. IN A
;; ANSWER SECTION:
www.weibo.com. 56 IN A 180.149.134.142
www.weibo.com. 56 IN A 180.149.134.141
;; Query time: 138 msec
;; SERVER: 119.29.29.29#53(119.29.29.29)
;; WHEN: Fri May 4 05:04:58 2018
;; MSG SIZE rcvd: 63
114DNS:★★★
国内用户量巨大的DNS,访问速度快,各省都有节点,可同时满足各运营商用户,有效预防劫持。
DNS 服务器 IP 地址:
首选:114.114.114.114
备选:114.114.114.115
作者点评:美国测试130-160毫秒查询反应,说明在美国没有服务器,应该是回到中国大陆服务器解析的!
# dig @114.114.114.114 www.weibo.com
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.4 <<>> @114.114.114.114 www.weibo.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23580
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.weibo.com. IN A
;; ANSWER SECTION:
www.weibo.com. 38 IN A 123.125.104.197
;; Query time: 160 msec
;; SERVER: 114.114.114.114#53(114.114.114.114)
;; WHEN: Fri May 4 05:06:24 2018
;; MSG SIZE rcvd: 47
阿里 AliDNS:★★★
阿里公共DNS是阿里巴巴集团推出的DNS递归解析系统,面向用户提供快速、稳定、智能的免费DNS递归解析服务。
DNS 服务器 IP 地址:
首选:223.5.5.5
备选:223.6.6.6
作者点评:查询178毫秒查询反应,说明在美国没有服务器,应该是回到中国大陆服务器解析的。
# dig @223.5.5.5 www.weibo.com
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.4 <<>> @223.5.5.5 www.weibo.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13885
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.weibo.com. IN A
;; ANSWER SECTION:
www.weibo.com. 16 IN A 180.149.134.142
www.weibo.com. 16 IN A 180.149.134.141
;; Query time: 178 msec
;; SERVER: 223.5.5.5#53(223.5.5.5)
;; WHEN: Fri May 4 05:09:14 2018
;; MSG SIZE rcvd: 63
DNS派★★★★
DNS派是聚流旗下的DNS服务,为个人用户、企业提供各种DNS服务,包括域名解析服务、网站授权解析服务、域名解析服务等
DNS 服务器 IP 地址:
首选(电信/移动/铁通):101.226.4.6
备选(电信/移动/铁通):218.30.118.6
首选(联通):123.125.81.6
备选(联通):140.207.198.6
作者点评:360出品!区分运营商,明显没有做BGP,过断抛弃。
# dig @101.226.4.6 www.weibo.com
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.4 <<>> @101.226.4.6 www.weibo.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20393
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.weibo.com. IN A
;; ANSWER SECTION:
www.weibo.com. 75 IN A 180.149.134.141
www.weibo.com. 75 IN A 180.149.134.142
;; Query time: 136 msec
;; SERVER: 101.226.4.6#53(101.226.4.6)
;; WHEN: Fri May 4 05:11:18 2018
;; MSG SIZE rcvd: 63
百度旗下云解析服务★★★
百度旗下云解析服务,依托百度一流基础设施和强大技术实力,为用户提供免费的、超越竞品的服务体验。没有套餐区分,安全,稳定,高效
DNS 服务器 IP 地址:
首选:180.76.76.76
作者点评:240毫秒,果断放弃吧。
# dig @180.76.76.76 www.weibo.com
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.4 <<>> @180.76.76.76 www.weibo.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21286
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.weibo.com. IN A
;; ANSWER SECTION:
www.weibo.com. 49 IN A 180.149.134.142
www.weibo.com. 49 IN A 180.149.134.141
;; Query time: 235 msec
;; SERVER: 180.76.76.76#53(180.76.76.76)
;; WHEN: Fri May 4 05:12:08 2018
;; MSG SIZE rcvd: 63
CNNIC SDNS:★★★
SDNS是由中国互联网络信息中心(CNNIC)推出的免费解析服务(SecureDNS,简称SDNS)。
DNS 服务器 IP 地址:
首选:1.2.4.8
备选:210.2.4.8
作者点评:作为国家出品的DNS,有待测试……(你敢用吗?反正我不敢)查询速度140毫秒,与腾讯dnspod的119.29.29.29相近,返回内容太多了,注定也慢。
]# dig @1.2.4.8 www.weibo.com
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.4 <<>> @1.2.4.8 www.weibo.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64222
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 6, ADDITIONAL: 6
;; QUESTION SECTION:
;www.weibo.com. IN A
;; ANSWER SECTION:
www.weibo.com. 60 IN A 180.149.134.142
www.weibo.com. 60 IN A 180.149.134.141
;; AUTHORITY SECTION:
weibo.com. 77857 IN NS ns4.sina.com.cn.
weibo.com. 77857 IN NS ns2.sina.com.cn.
weibo.com. 77857 IN NS ns1.sina.com.cn.
weibo.com. 77857 IN NS ns4.sina.com.
weibo.com. 77857 IN NS ns3.sina.com.
weibo.com. 77857 IN NS ns3.sina.com.cn.
;; ADDITIONAL SECTION:
ns1.sina.com.cn. 82392 IN A 202.106.184.166
ns2.sina.com.cn. 64615 IN A 61.172.201.254
ns3.sina.com. 172452 IN A 61.172.201.254
ns3.sina.com.cn. 67865 IN A 123.125.29.99
ns4.sina.com. 169253 IN A 123.125.29.99
ns4.sina.com.cn. 55546 IN A 121.14.1.22
;; Query time: 140 msec
;; SERVER: 1.2.4.8#53(1.2.4.8)
;; WHEN: Fri May 4 05:13:04 2018
;; MSG SIZE rcvd: 283
OpenDNS:★★★★
OpenDNS创建于2006年,长期以来致力于为广大个人用户以及商务企业用户和公共领域提供免费的域名解析服务。
DNS 服务器 IP 地址:
首选:208.67.222.222
备选:208.67.220.220
作者点评:美国有节点,有时候140毫秒左右,有时候1毫秒,ping延时1毫秒。
[root@10-11-113-118 ~]# dig @208.67.222.222 www.weibo.com
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.4 <<>> @208.67.222.222 www.weibo.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36208
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.weibo.com. IN A
;; ANSWER SECTION:
www.weibo.com. 60 IN A 123.125.104.197
;; Query time: 148 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Fri May 4 05:14:42 2018
;; MSG SIZE rcvd: 47
Google DNS:★★★★★
谷歌公共域名解析服务(Google Public DNS)是由谷歌于2009年发布的一项DNS服务
DNS 服务器 IP 地址:
首选:8.8.8.8
备选:8.8.4.4
作者点评:美国有节点,有时候24毫秒左右,ping延时1毫秒。
# dig @8.8.8.8 www.weibo.com
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.4 <<>> @8.8.8.8 www.weibo.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5151
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.weibo.com. IN A
;; ANSWER SECTION:
www.weibo.com. 52 IN A 123.125.104.197
;; Query time: 25 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Fri May 4 05:17:10 2018
;; MSG SIZE rcvd: 47
Cloudflare:★★★★★
Cloudflare宣布今日正式推出1.1.1.1公共DNS服务,号称任何人都可以使用它可以加快互联网访问速度并并保持连接私密性。Cloudflare声称它将是“互联网上速度最快,隐私优先的消费者DNS服务”,此前类似的免费公共服务OpenDNS与GoogleDNS都已经服役了很长时间。
DNS 服务器 IP 地址:
首选:1.1.1.1
作者点评:美国有节点,解析域名失败,ping延时1毫秒。
# dig @1.1.1.1 www.google.com
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.4 <<>> @1.1.1.1 www.google.com
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached
[root@10-11-113-118 ~]# ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
64 bytes from 1.1.1.1: icmp_seq=1 ttl=64 time=0.350 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=64 time=0.165 ms
^C
— 1.1.1.1 ping statistics —
2 packets transmitted, 2 received, 0% packet loss, time 1978ms
rtt min/avg/max/mdev = 0.165/0.257/0.350/0.093 ms
[root@10-11-113-118 ~]# nslookup www.google.com. 1.1.1.1
;; connection timed out; trying next origin
;; connection timed out; no servers could be reached
美国 科州布鲁姆菲尔德市县Level3公共DNS服务器:★★★★★
美国 科州布鲁姆菲尔德市县Level3公共DNS服务器 DNS 服务器 IP 地址:
首选:1.1.1.1
作者点评:美国有节点,超级快,不到1毫秒,ping延时1毫秒。
# dig @4.2.2.1 www.weibo.com
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.4 <<>> @4.2.2.1 www.weibo.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2782
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.weibo.com. IN A
;; ANSWER SECTION:
www.weibo.com. 16 IN A 123.125.104.197
;; Query time: 0 msec
;; SERVER: 4.2.2.1#53(4.2.2.1)
;; WHEN: Fri May 4 05:26:14 2018
;; MSG SIZE rcvd: 47
最后总结
测试结果受用户地区和DNS提供商的服务器等不同因素影响。建议用户在选择DNS时可以依照本排行,ping不同dns服务商的首选DNS地址,一般是哪个延迟最低用哪个,不同地区我也不好发言。大陆美国飞人推荐DNSPodDNS:119.29.29.29/182.254.116.116,长期美国推荐:4.2.2.1、8.8.8.8、208.67.222.222