-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Parallelize forward DNS name resolution #1451
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a known source of slowness that should have been made a tracking issue long ago.
Nmap has a fast parallel DNS resolver, but it currently only works for PTR requests. For forward lookups (such as a list of domain names provided via
-iL
), it uses the system's own blocking resolver. We could really speed up scanning if we did these in batches instead, but it will require some re-engineering of how Nmap processes target inputs:NetBlock
inTargetGroup.cc
. This is to handle cases likeexample.com/24
(scan the/24
CIDR block that contains the address for "example.com").nmap_dns.cc
to handle different request types. This functionality could be useful in other areas of Nmap, too, but don't worry about that yet.The text was updated successfully, but these errors were encountered: