pymumu / smartdns

A local DNS server to obtain the fastest website IP for the best Internet experience, support DoT, DoH. 一个本地DNS服务器,获取最快的网站IP,获得最佳上网体验,支持DoH,DoT。
https://pymumu.github.io/smartdns/
GNU General Public License v3.0
8.45k stars 1.08k forks source link

[请教] speed check 测速 #1677

Open go626201 opened 8 months ago

go626201 commented 8 months ago

我想问一下 speed check 测速 能设定连续ping 或tcpping几次之后才得出稳定的ip吗? 有时候有些ip 会有连线掉包的问题,但同一时间其他ip就没有掉包的问题。

ICMP ping space.bilibili.com -t Ping statistics for 164.52.39.43: Packets: Sent = 444, Received = 334, Lost = 110 (24% loss), Approximate round trip times in milli-seconds: Minimum = 22ms, Maximum = 26ms, Average = 24ms

TCPing Ping statistics for 164.52.39.43:443 780 probes sent. 735 successful, 45 failed. (5.77% fail) Approximate trip times in milli-seconds (successful connections only): Minimum = 10.228ms, Maximum = 1044.855ms, Average = 193.851ms

image 像上面那张图 好多ip是不掉包的,就优先分配 不掉包的ip. (无视图里第一个ip-24ms,是dns回复 禁止访问的ip)

PikuZheng commented 8 months ago

cf建议固定一个ip使用,参考 #1062

go626201 commented 8 months ago

cf建议固定一个ip使用,参考 #1062

不是Cloudflare的ip. 上面的刚好遇到问题的例子是 B站的网址。

PikuZheng commented 8 months ago

ping多次不会导致查询结果延迟吗 b站我是加了一个段的ip(青岛阿里云)到黑名单(确实经常丢包

qwerttvv commented 8 months ago

ping多次不会导致查询结果延迟吗

其实可以在first-ping模式下操作