Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit the rate of DNS queries #22196

Open
Bu11etmagnet opened this issue Jan 23, 2025 · 1 comment
Open

Limit the rate of DNS queries #22196

Bu11etmagnet opened this issue Jan 23, 2025 · 1 comment

Comments

@Bu11etmagnet
Copy link

Suggestion

When qBittorrent starts and loads a large number of torrents, it will generate a large number of DNS queries very quickly (thousands per second). Some DNS servers (e.g. Pi-hole) have a rate limiting feature, and may start to throttle the computer's DNS queries (refuse to answer) as a result. In one case this resulted in 45 minutes of no DNS queries answered.
It would be nice if there was a possibility to limit the rate of DNS queries. This could be implemented with a queue, where a thread would retrieve queries at a set rate from the queue and send them out to the DNS server. This could result in delaying the start of downloading and seeding, because until a tracker's DNS name is resolved, it can't be contacted.

Use case

Limit the rate of DNS queries (especially at startup) to avoid triggering DNS servers with rate limit enforcement.

Extra info/examples/attachments

Pi-hole rate limit documentation

@stalkerok
Copy link
Contributor

Max http announces in advanced settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants