Syborg icon indicating copy to clipboard operation
Syborg copied to clipboard

Additional Resolver file

Open gy741 opened this issue 5 years ago • 3 comments

Hello,

I think the "Syborg" tool uses a single DNS server.

python3 syborg.py -d 4.4.4.4 google.com

It would be nice if syborg could use a multi-resolver.

python3 syborg.py -d resolvers.txt google.com
Traceback (most recent call last):
  File "syborg.py", line 221, in <module>
    resolver.nameservers = [socket.gethostbyname(dns_server)]
socket.gaierror: [Errno -2] Name or service not known

A single dns server can be blocked by a dos problem.

Thanks.

gy741 avatar Jan 26 '20 04:01 gy741

Hey,

Thanks for bringing this to my attention. May I know what steps did you take to reproduce this error? In my countless runs, even with concurrency set to 100, I was not blocked by any DNS server. This will help me reproduce this error and finally remediate it!

Thanks,

-Milind

MilindPurswani avatar Jan 26 '20 12:01 MilindPurswani

@MilindPurswani Thanks for the answer.

I am not currently blocked.

But I think if many users use this tool and test more many domains, it can be a problem.

So, massdns and amass are being offered a resolvers file.

./bin/massdns -r resolvers.txt) .....
./amss -rf resolvers.txt .....

gy741 avatar Jan 26 '20 13:01 gy741

Sure! I have labeled this as an enhancement. Currently, I am occupied with a lot of stuff so will work on this in near future. If you want to contribute, feel free to code the required feature and create pull request! I will validate it and then accept it, if its working :)

Let me know if you need any more info.

Thanks,

-Milind

MilindPurswani avatar Jan 26 '20 18:01 MilindPurswani