mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Also try system resolver for unqualified (no-dot) DNS names
This commit is contained in:
parent
8fc566bf49
commit
a7ca9aba7b
1 changed files with 5 additions and 0 deletions
|
|
@ -802,6 +802,11 @@ static void read_evt_handler(nsock_pool nsp, nsock_event evt, void *) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (!processing_successful && reqt->name.find('.') == std::string::npos) {
|
||||
// Names without a dot: system resolver may do better.
|
||||
process_request(ACTION_SYSTEM_RESOLVE, reqinfo);
|
||||
processing_successful = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (!processing_successful) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue