VMx

vmx.im
啥都学一点的填坑人
  1. 首页
  2. Linux
  3. 正文

修改DNS加速伯力VPS延时

2020年5月17日 1297点热度 0人点赞 0条评论

今天有MJJ在探讨伯力断流的情况,发现有许多跟我的相同的情况,虽然国内PING值好,但客户端的测速延时特别大。三毛ping虽然高点,但是测速延时小。
经测试发现,原来从伯力到google,有图比的PING延时有140左右,三毛的不到20,就是难怪了。
发现debian的dns使用的是1.1.1.1,使用三毛的DNS立马ping值由原来的140就了10X,延时直接少了3XMS。
应该还是走的google的欧洲
默认DNS的PING

root@303000:~# ping www.google.com
PING www.google.com (172.217.18.164) 56(84) bytes of data.
64 bytes from fra15s29-in-f4.1e100.net (172.217.18.164): icmp_seq=1 ttl=48 time=145 ms
64 bytes from fra15s29-in-f4.1e100.net (172.217.18.164): icmp_seq=2 ttl=48 time=145 ms
64 bytes from fra15s29-in-f4.1e100.net (172.217.18.164): icmp_seq=3 ttl=48 time=145 ms

修改为 208.67.222.222  77.88.8.8之后:
root@303000:~#ping www.google.com
PING www.google.com (173.194.73.104) 56(84) bytes of data.
64 bytes from lq-in-f104.1e100.net (173.194.73.104): icmp_seq=1 ttl=45 time=107 ms
64 bytes from lq-in-f104.1e100.net (173.194.73.104): icmp_seq=2 ttl=45 time=107 ms
64 bytes from lq-in-f104.1e100.net (173.194.73.104): icmp_seq=3 ttl=45 time=107 ms

使用8.8.8.8或8.8.4.4
root@303000:~# ping www.google.com
PING www.google.com (108.177.14.147) 56(84) bytes of data.
64 bytes from lt-in-f147.1e100.net (108.177.14.147): icmp_seq=1 ttl=38 time=118 ms
64 bytes from lt-in-f147.1e100.net (108.177.14.147): icmp_seq=2 ttl=38 time=118 ms
64 bytes from lt-in-f147.1e100.net (108.177.14.147): icmp_seq=3 ttl=38 time=118 ms

测试发现伯力到日本的延迟才30-40,相比到MOSCOW 100左右还是少了近一半,没有东京的VPS,没办法测试,有哪位大佬可以测下看看

Post Views: 458
标签: 暂无
最后更新:2020年5月17日

huifei

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

COPYRIGHT © 2021 vmx.im. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang