Comodo Secure DNS(科莫多提供) 8.26.56.26/8.20.247.20,对比114dns、dnspod、阿里DNS

Comodo Secure DNS(科莫多提供) 8.26.56.26/8.20.247.20 查询速度非常快,一点也不输给dnspod的119.29.29.29 114DNS:114.114.114.114 阿里DNS:223.5.5.5

测试一下查询速度,Comodo Secure DNS(科莫多提供) 8.26.56.26/8.20.247.20基本在1毫秒到900毫秒,波动很大,但是定位不够准确,广东电信使用了

# time dig @8.26.56.26 www.weibo.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.62.rc1.el6_9.2 <<>> @8.26.56.26 www.weibo.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16697
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.weibo.com.                 IN      A

;; ANSWER SECTION:
www.weibo.com.          31      IN      A       180.149.134.141
www.weibo.com.          31      IN      A       180.149.134.142

;; Query time: 1 msec
;; SERVER: 8.26.56.26#53(8.26.56.26)
;; WHEN: Tue Jul 18 17:56:07 2017
;; MSG SIZE  rcvd: 63

real    0m0.006s
user    0m0.002s
sys     0m0.002s

# time dig @8.20.247.20 www.weibo.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.62.rc1.el6_9.2 <<>> @8.20.247.20 www.weibo.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4081
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.weibo.com.                 IN      A

;; ANSWER SECTION:
www.weibo.com.          37      IN      A       180.149.134.142
www.weibo.com.          37      IN      A       180.149.134.141

;; Query time: 2 msec
;; SERVER: 8.20.247.20#53(8.20.247.20)
;; WHEN: Tue Jul 18 17:56:42 2017
;; MSG SIZE  rcvd: 63

real    0m0.006s
user    0m0.000s
sys     0m0.004s

# time dig @8.20.247.20 v.qq.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.62.rc1.el6_9.2 <<>> @8.20.247.20 v.qq.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12273
;; flags: qr rd ra; QUERY: 1, ANSWER: 17, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;v.qq.com.                      IN      A

;; ANSWER SECTION:
v.qq.com.               527     IN      CNAME   v.tc.qq.com.
v.tc.qq.com.            1072    IN      CNAME   v.tcdn.qq.com.
v.tcdn.qq.com.          211     IN      CNAME   p21.tcdn.qq.com.
p21.tcdn.qq.com.        128     IN      A       58.216.96.21
p21.tcdn.qq.com.        128     IN      A       61.155.220.194
p21.tcdn.qq.com.        128     IN      A       58.216.96.19
p21.tcdn.qq.com.        128     IN      A       58.216.96.18
p21.tcdn.qq.com.        128     IN      A       58.216.6.22
p21.tcdn.qq.com.        128     IN      A       58.216.96.17
p21.tcdn.qq.com.        128     IN      A       221.228.67.166
p21.tcdn.qq.com.        128     IN      A       58.216.96.22
p21.tcdn.qq.com.        128     IN      A       221.228.67.167
p21.tcdn.qq.com.        128     IN      A       221.228.67.146
p21.tcdn.qq.com.        128     IN      A       58.216.96.20
p21.tcdn.qq.com.        128     IN      A       58.216.6.21
p21.tcdn.qq.com.        128     IN      A       58.216.6.20
p21.tcdn.qq.com.        128     IN      A       221.228.67.165

;; Query time: 3 msec
;; SERVER: 8.20.247.20#53(8.20.247.20)
;; WHEN: Tue Jul 18 17:58:29 2017
;; MSG SIZE  rcvd: 331

real    0m0.007s
user    0m0.002s
sys     0m0.003s

# time dig @8.26.56.26 v.qq.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.62.rc1.el6_9.2 <<>> @8.26.56.26 v.qq.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2198
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;v.qq.com.                      IN      A

;; ANSWER SECTION:
v.qq.com.               132     IN      CNAME   v.tc.qq.com.
v.tc.qq.com.            1290    IN      CNAME   v.tcdn.qq.com.
v.tcdn.qq.com.          439     IN      CNAME   p21.tcdn.qq.com.
p21.tcdn.qq.com.        124     IN      A       203.205.158.37
p21.tcdn.qq.com.        124     IN      A       203.205.158.38

;; Query time: 289 msec
;; SERVER: 8.26.56.26#53(8.26.56.26)
;; WHEN: Tue Jul 18 18:13:52 2017
;; MSG SIZE  rcvd: 116

real    0m0.294s
user    0m0.003s
sys     0m0.001s
[root@2 monitor_video]# time dig @8.26.56.26 v.qq.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.62.rc1.el6_9.2 <<>> @8.26.56.26 v.qq.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1656
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;v.qq.com.                      IN      A

;; ANSWER SECTION:
v.qq.com.               127     IN      CNAME   v.tc.qq.com.
v.tc.qq.com.            2027    IN      CNAME   v.tcdn.qq.com.
v.tcdn.qq.com.          434     IN      CNAME   p21.tcdn.qq.com.
p21.tcdn.qq.com.        6       IN      A       203.205.158.37
p21.tcdn.qq.com.        6       IN      A       203.205.158.38

;; Query time: 992 msec
;; SERVER: 8.26.56.26#53(8.26.56.26)
;; WHEN: Tue Jul 18 18:13:57 2017
;; MSG SIZE  rcvd: 116

real    0m2.997s
user    0m0.001s
sys     0m0.003s

看看dnspod dns、也就是腾讯DNS,119.29.29.29,定位很准确,返回广东电信ip,查询速度稳定在10几毫秒

# time dig @119.29.29.29 v.qq.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.62.rc1.el6_9.2 <<>> @119.29.29.29 v.qq.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9766
;; flags: qr rd ra; QUERY: 1, ANSWER: 19, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;v.qq.com.                      IN      A

;; ANSWER SECTION:
v.qq.com.               296     IN      CNAME   v.tc.qq.com.
v.tc.qq.com.            2309    IN      CNAME   v.tcdn.qq.com.
v.tcdn.qq.com.          296     IN      CNAME   p21.tcdn.qq.com.
p21.tcdn.qq.com.        54      IN      A       125.94.49.21
p21.tcdn.qq.com.        54      IN      A       119.147.33.30
p21.tcdn.qq.com.        54      IN      A       119.147.253.19
p21.tcdn.qq.com.        54      IN      A       119.147.33.28
p21.tcdn.qq.com.        54      IN      A       119.147.253.28
p21.tcdn.qq.com.        54      IN      A       119.147.33.29
p21.tcdn.qq.com.        54      IN      A       113.105.73.147
p21.tcdn.qq.com.        54      IN      A       119.147.227.20
p21.tcdn.qq.com.        54      IN      A       119.147.227.22
p21.tcdn.qq.com.        54      IN      A       125.94.49.22
p21.tcdn.qq.com.        54      IN      A       125.94.49.18
p21.tcdn.qq.com.        54      IN      A       113.107.238.105
p21.tcdn.qq.com.        54      IN      A       119.147.33.32
p21.tcdn.qq.com.        54      IN      A       119.147.227.21
p21.tcdn.qq.com.        54      IN      A       119.147.227.18
p21.tcdn.qq.com.        54      IN      A       119.147.227.19

;; Query time: 14 msec
;; SERVER: 119.29.29.29#53(119.29.29.29)
;; WHEN: Tue Jul 18 17:59:58 2017
;; MSG SIZE  rcvd: 340

real    0m0.018s
user    0m0.001s
sys     0m0.004s
[root@2 monitor_video]# time dig @119.29.29.29 www.weibo.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.62.rc1.el6_9.2 <<>> @119.29.29.29 www.weibo.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32098
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.weibo.com.                 IN      A

;; ANSWER SECTION:
www.weibo.com.          35      IN      A       180.149.134.142
www.weibo.com.          35      IN      A       180.149.134.141

;; Query time: 12 msec
;; SERVER: 119.29.29.29#53(119.29.29.29)
;; WHEN: Tue Jul 18 18:00:05 2017
;; MSG SIZE  rcvd: 63

real    0m0.016s
user    0m0.000s

看看最早的114DNS,114.114.114.114,返回IP为江苏电信IP不够准确,查询时间也非常快1-2毫秒。

# time dig @114.114.114.114 v.qq.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.62.rc1.el6_9.2 <<>> @114.114.114.114 v.qq.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8929
;; flags: qr rd ra; QUERY: 1, ANSWER: 17, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;v.qq.com.                      IN      A

;; ANSWER SECTION:
v.qq.com.               238     IN      CNAME   v.tc.qq.com.
v.tc.qq.com.            349     IN      CNAME   v.tcdn.qq.com.
v.tcdn.qq.com.          322     IN      CNAME   p21.tcdn.qq.com.
p21.tcdn.qq.com.        32      IN      A       58.216.6.20
p21.tcdn.qq.com.        32      IN      A       58.216.96.19
p21.tcdn.qq.com.        32      IN      A       58.216.96.21
p21.tcdn.qq.com.        32      IN      A       221.228.67.165
p21.tcdn.qq.com.        32      IN      A       58.216.96.18
p21.tcdn.qq.com.        32      IN      A       58.216.96.22
p21.tcdn.qq.com.        32      IN      A       61.155.220.194
p21.tcdn.qq.com.        32      IN      A       58.216.96.17
p21.tcdn.qq.com.        32      IN      A       221.228.67.167
p21.tcdn.qq.com.        32      IN      A       58.216.6.22
p21.tcdn.qq.com.        32      IN      A       58.216.6.21
p21.tcdn.qq.com.        32      IN      A       221.228.67.166
p21.tcdn.qq.com.        32      IN      A       221.228.67.146
p21.tcdn.qq.com.        32      IN      A       58.216.96.20

;; Query time: 2 msec
;; SERVER: 114.114.114.114#53(114.114.114.114)
;; WHEN: Tue Jul 18 18:01:40 2017
;; MSG SIZE  rcvd: 331

real    0m0.006s
user    0m0.004s
sys     0m0.000s
[root@2 monitor_video]# time dig @114.114.114.114 www.weibo.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.62.rc1.el6_9.2 <<>> @114.114.114.114 www.weibo.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13642
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.weibo.com.                 IN      A

;; ANSWER SECTION:
www.weibo.com.          15      IN      A       180.149.134.142
www.weibo.com.          15      IN      A       180.149.134.141

;; Query time: 1 msec
;; SERVER: 114.114.114.114#53(114.114.114.114)
;; WHEN: Tue Jul 18 18:01:47 2017
;; MSG SIZE  rcvd: 63

real    0m0.006s
user    0m0.002s
sys     0m0.002s

最后我们看看阿里DNS,223.5.5.5 223.6.6.6,首先返回ip有时候是湖南电信有时候是江苏电信,不够准确。查询速度10几毫秒,跟腾讯DNS(DNSPod)差不多。

# time dig @223.5.5.5 www.weibo.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.62.rc1.el6_9.2 <<>> @223.5.5.5 www.weibo.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31354
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.weibo.com.                 IN      A

;; ANSWER SECTION:
www.weibo.com.          40      IN      A       180.149.134.142
www.weibo.com.          40      IN      A       180.149.134.141

;; Query time: 13 msec
;; SERVER: 223.5.5.5#53(223.5.5.5)
;; WHEN: Tue Jul 18 18:03:01 2017
;; MSG SIZE  rcvd: 63

real    0m0.018s
user    0m0.004s
sys     0m0.001s
[root@2 monitor_video]# time dig @223.5.5.5 v.qq.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.62.rc1.el6_9.2 <<>> @223.5.5.5 v.qq.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5022
;; flags: qr rd ra; QUERY: 1, ANSWER: 10, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;v.qq.com.                      IN      A

;; ANSWER SECTION:
v.qq.com.               168     IN      CNAME   v.tc.qq.com.
v.tc.qq.com.            168     IN      CNAME   v.tcdn.qq.com.
v.tcdn.qq.com.          168     IN      CNAME   p21.tcdn.qq.com.
p21.tcdn.qq.com.        168     IN      A       218.75.176.141
p21.tcdn.qq.com.        168     IN      A       218.75.176.143
p21.tcdn.qq.com.        168     IN      A       218.75.176.144
p21.tcdn.qq.com.        168     IN      A       218.75.177.23
p21.tcdn.qq.com.        168     IN      A       218.75.177.25
p21.tcdn.qq.com.        168     IN      A       218.75.177.24
p21.tcdn.qq.com.        168     IN      A       218.75.176.142

;; Query time: 6 msec
;; SERVER: 223.5.5.5#53(223.5.5.5)
;; WHEN: Tue Jul 18 18:03:05 2017
;; MSG SIZE  rcvd: 196

real    0m0.010s
user    0m0.000s
sys     0m0.004s

小结:dnspod dns(腾讯DNS)119.29.29.29,查询定位很准确返回广东电信ip,查询速度稳定在10几毫秒,阿里dns、114dns都很快但是返回ip不是本省ip,可能是递归查询的ip节点不够多导致不准确。而Comodo Secure DNS(科莫多提供) 8.26.56.26/8.20.247.20 查询速度有时候最快,但是不稳定有时候几百毫秒,返回ip也不够精准同运营商不同省份,还是不稳定,不推荐。