AdguardTeam / AdguardTeam/dnsproxy

Is sorting of upstreams (fastest->slowest) really working correct?!

Đang mở
#452 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
3.3k
Fork
343
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I suspect that the new logic implemented a few months ago to sort DNS-servers (fastest->slowest) might have a bug?!

As a test I added two slow DNS-servers far away with DNS-answers always in the range 60-120 ms and let it run for 24 hours. Totally 10 upstream servers in the list for DNSProxy to choose from. The strange is that DNSProxy selects these two servers for most queries, so I wonder if the sorting is reversed or weighted/randomized wrong. Seems that the slowest servers gets most queries and the fastest (5-20 ms) is at the bottom in the list.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.