Today, it takes a long time to ping the server and Baidu. After adding a few more dnsservers, the response time varies with DNS.
Finally, the result of/etc/resolv. conf is as follows:
Nameserver 114.114.114.114 Nameserver 119.97.175.154 Nameserver 8.8.8.8 Nameserver 202.96.128.86 |
The test result is as follows:
1,114.114.114.114:
[[Email protected] fufangchun] # Ping 114.114.114.114 Ping 114.114.114.114 (114.114.114.114) 56 (84) bytes of data. 64 bytes from 114.114.114.114: icmp_seq = 1 TTL = 65 time = 7.39 MS 64 bytes from 114.114.114.114: icmp_seq = 2 TTL = 61 time = 7.27 MS ^ C --- 114.114.114.114 Ping statistics --- 2 packets transmitted, 2 bytes ed, 0% packet loss, time 1548 Ms RTT min/AVG/max/mdev = 7.277/7.336/7.396/0.104 MS |
2,119.97.175.154:
In Hubei province.
[[Email protected] fufangchun] # Ping 119.97.175.154 Ping 119.97.175.154 (119.97.175.154) 56 (84) bytes of data. 64 bytes from 119.97.175.154: icmp_seq = 1 TTL = 52 time = 16.5 MS ^ C --- 119.97.175.154 Ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 792 Ms RTT min/AVG/max/mdev = 16.529/16.529/16.529/0.000 MS |
3,8.8.8.8:
[[Email protected] fufangchun] # Ping 8.8.8.8 Ping 8.8.8.8 (8.8.8.8) 56 (84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq = 3 TTL = 43 time = 159 MS ^ C --- 8.8.8.8 Ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2971 Ms RTT min/AVG/max/mdev = 159.999/159.999/159.999/0.000 MS |
4,202.96.128.86:
Guangdong.
[[Email protected] fufangchun] # Ping 202.96.128.86 Ping 202.96.128.86 (202.96.128.86) 56 (84) bytes of data. ^ C --- 202.96.128.86 Ping statistics --- 24 packets transmitted, 0 received, 100% packet loss, time 23602 Ms |
This article from the "no blame" blog, please be sure to keep this source http://perofu.blog.51cto.com/6061242/1562547
Server DNS Selection Problems