From 93cb0fd4b5cd7c36604589577f788218e4932041 Mon Sep 17 00:00:00 2001 From: dmiller Date: Mon, 7 Aug 2017 15:51:28 +0000 Subject: [PATCH] Document the '*all' host discovery syntax --- docs/refguide.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/refguide.xml b/docs/refguide.xml index 2279b6d5a..68b3b50a2 100644 --- a/docs/refguide.xml +++ b/docs/refguide.xml @@ -164,6 +164,16 @@ manual. Some obscure options aren't even included here. option argument) is treated as a target host specification. The simplest case is to specify a target IP address or hostname for scanning. +When a hostname is given as a target, it is + resolvedDNS resolution + via the Domain Name System (DNS) to determine the IP address to scan. If the + name resolves to more than one IP address, only the first one will be + scanned. To make Nmap scan all the resolved addresses instead of only the + first one, append *all + *all to the hostname like so: + example.com*all + + Sometimes you wish to scan a whole network of adjacent hosts. For this, Nmap supports CIDR-styleCIDR (Classless Inter-Domain Routing) addressing. You can append