-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
running the app (docker version) floods router dns server with dns request of IPs (not domains) #305
Comments
This happens without Docker as well. A flood of DNS requests for the bootstrap nodes also occurs, which seems horribly wrong. |
I wanted to specify so that if the bug was only present in docker then the dev(s) could narrow it down. I still don't understand the flooding even for non dns requests, but this is for requesting IPs of IPs (instead of domains) so it has to be a bug. |
This issue brought my home network to its knees, and it took me far too long to trace it back to Bitmagnet. Reducing the DHT_CRAWLER_SCALING_FACTOR does little to nothing to fix it. I also could swear this only started about a week ago (around the time this issue was opened) - at least I didn't notice it earlier. But, as far as I can tell, there hasn't been a new docker release in over two months? Is there another trigger or threshold that could have exacerbated this bug? I'm running the docker container as well. |
maybe I cursed it? by the way, a similar issue was present with magnetico (the other dht crawler) but that one was managed by something like that DHT_CRAWLER_SCALING_FACTOR. this issue is present at the start and it seems to go away after a while. |
Are you by any chance using an OpenWRT router? This sounds like it might be a duplicate of #299 Routing Bitmagnet through a VPN might help in this case. The Bitmagnet code is not making any DNS queries directly (with the exception of the bootstrap nodes), it's just using the standard networking libraries. |
I am using openwrt but my issue is not the same as that one. mine is exactly because of dns requests that make both dnscypt and dnsmasq go:
if I have a download running before running bitmagnet , that still has its own bandwidth because it already has the dns-ip it needed. so to repeat, my issue is not network coming to a standstill because of weak cpu in router. I have put the dns request at the top as you can see. so it is asking the dns server what is IP of domain 166.248.102.183.in-addr.arpa asking for IP for an IP is incorrect but that is one issue. |
There simply isn't any code in Bitmagnet that does this. I suspect it's a software (not hardware) issue with OpenWRT routers. Many OpenWRT users have already raised issues both here and on Discord. The best workaround that's been found is running Bitmagnet through a VPN. I don't have an OpenWRT router to test with myself but you might be able to get help from other users on Discord: https://discord.gg/6mFNszX8qM |
I think I found out some more info. so I will close this and see what causes it. but I didn't see this loop before with any other apps. |
weird I reverted my "fix" and the issue is no longer there. |
update: I even disabled dnscrypt. |
Please note I have similar network degradation while using Synology routers, I could pinpoint the issue back to Bitmagnet but still unclear what's producing the network overload. It's happening with v0.9.5, however I could eventually managed to make it work with latest v0.10.0-beta5 through gluetun, will keep posted. |
i have same issue while using Fritz box router tried DHT_CRAWLER_SCALING_FACTOR 5 not helping |
I used the sample docker to use this app. when I run this docker app my dnscrypt throws errors about
it seems that this app floods the router dns server with dns request about IPs of IPs (instead of domains)
and this flood of equerries causes the dns-server to refuse serving dns answers.
[latest docker version]
[archlinux]
The text was updated successfully, but these errors were encountered: