OJ / gobuster

Directory/File, DNS and VHost busting tool written in Go
Apache License 2.0
9.28k stars 1.16k forks source link

So, why exactly does dns mode break internet connection? #509

Closed 677230756E64 closed 1 month ago

677230756E64 commented 1 month ago

Had this happen to me, googled it and apparently it's a thing. Never found an answer though. Anybody got to the bottom of it? Using google DNS as well.

firefart commented 1 month ago

if you hammer the google dns with thousands of queries in short time, they might block your ip. Also on unix it creates a lot of sockets and open files because of golangs dns implementation. You can try building with CGO_ENABLED=1 in your environment variables so the unix implementation will use the system dns settings

677230756E64 commented 1 month ago

How much is too much for google in terms of queries? I used delay 100ms so 10 requests per second which doesn't seem that much to me. Also regarding the second thing, the go-specific implementation, that's the answer? We wrote the tool in go but part of what the tool does, the language does badly so you the user will have to work around it?