1.1.1.1开放DNS好不好用?用服务器测试,电信联通ping延时100以上延时,域名解析300多毫秒,海外测试延时都50毫秒,明显适合海外使用的DNS,不适合国内使用的开发DNS。
1)服务器测试一下,用ucloud服务器测试执行,v.qq.com访问海外服务器了。
# time dig @1.1.1.1 v.qq.com
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.4 <<>> @1.1.1.1 v.qq.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46940
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;v.qq.com. IN A
;; ANSWER SECTION:
v.qq.com. 600 IN CNAME v.qq.com.edgekey.net.
v.qq.com.edgekey.net. 1361 IN CNAME e5956.f.akamaiedge.net.
e5956.f.akamaiedge.net. 17 IN A 104.65.9.248
;; Query time: 387 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Tue Apr 3 16:44:35 2018
;; MSG SIZE rcvd: 109
real 0m0.392s
user 0m0.001s
sys 0m0.005s
2)汕头电信服务器测试
time dig @1.1.1.1 v.qq.com
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.62.rc1.el6_9.2 <<>> @1.1.1.1 v.qq.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56452
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;v.qq.com. IN A
;; ANSWER SECTION:
v.qq.com. 600 IN CNAME v.qq.com.edgekey.net.
v.qq.com.edgekey.net. 1403 IN CNAME e5956.f.akamaiedge.net.
e5956.f.akamaiedge.net. 14 IN A 104.65.9.248
;; Query time: 388 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Tue Apr 3 16:43:53 2018
;; MSG SIZE rcvd: 109
real 0m0.397s
user 0m0.005s
sys 0m0.004s