mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Document the '*all' host discovery syntax
This commit is contained in:
parent
8a82bbe751
commit
93cb0fd4b5
1 changed files with 10 additions and 0 deletions
|
|
@ -164,6 +164,16 @@ manual. Some obscure options aren't even included here.</para>
|
|||
option argument) is treated as a target host specification. The
|
||||
simplest case is to specify a target IP address or hostname for scanning.</para>
|
||||
|
||||
<para>When a hostname is given as a target, it is
|
||||
<firstterm>resolved</firstterm><indexterm><primary>DNS resolution</primary></indexterm>
|
||||
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 <literal>*all</literal>
|
||||
<indexterm><primary>*all</primary></indexterm> to the hostname like so:
|
||||
<literal>example.com*all</literal>
|
||||
</para>
|
||||
|
||||
<para>Sometimes you wish to scan a whole network of adjacent hosts. For
|
||||
this, Nmap supports CIDR-style<indexterm><primary>CIDR (Classless
|
||||
Inter-Domain Routing)</primary></indexterm> addressing. You can append
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue