This file is indexed.

/usr/share/doc/netwox-doc/tools/102.html is in netwox-doc 5.36.0-1.2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
<HTML>
 <HEAD>
 <TITLE>Tool 102: Query a DNS server</TITLE>
 </HEAD>
 <BODY BGCOLOR="#FFFFFF">
  <CENTER>   <H3>Tool 102: Query a DNS server</H3>
  </CENTER>

  <P><H3>Description:</H3>
   <PRE>
  This tool queries a DNS server. For example, it can retrieve IP
  address associated to a hostname.
  Parameter --dst-ip defines the DNS server address. This server has to
  be authoritative for the query requested (or allow recursion, if
  --recurdesired is set).
  Parameter --name contains the name to query.
  Parameter --type indicates the requested information type.
  
  Example: 'netwox 102 server --name www.example.com --type a'
  Example: 'netwox 102 server --name 1.2.3.4 --type ptr'
  Example: 'netwox 102 server --name example.com --type mx'
  
  Parameter --tcp uses TCP instead of UDP. This is generally not
  allowed.
  
  Parameter --dst-ip is the address of remote host/server.
  Parameter --dst-port is the port number where to connect.
  Optional parameter --src-ip defines the local IP address to use.
  Optional parameter --src-port defines the local port number to use.
  Optional parameter --ip4opts permits to add IP4 options encoded as
  mixed.
  Optional parameter --ip6exts permits to add IP6 options encoded as
  mixed (first byte is the next header number).
  Optional parameters --device, --src-eth and --dst-eth permits to
  create a virtual client using fake addresses (in this case, tool have
  to be run with admin privilege in order to sniff and spoof at
  Ethernet level).
   </PRE>

  <P><H3>Synonyms:</H3>
  &nbsp;&nbsp;dig, nslookup<BR>

  <P><H3>Usage:</H3>
  &nbsp;&nbsp;netwox 102 -i ip -n hostname -y data [-d device] [-E eth] [-e eth] [-I ip] [-P port] [-p port] [-o ip4opts] [-O ip6exts] [-c data] [-u|+u] [-C|+C] [-T uint32]<BR>

  <P><H3>Parameters:</H3>
<TABLE BORDER=1 CELLPADDING=4>
 <TR>
  <TD ALIGN=middle><I>parameter</I></TD>
  <TD ALIGN=middle><I>description</I></TD>
  <TD ALIGN=middle><I>example</I></TD>
 </TR>
 <TR><TD><TT>-i|--dst-ip ip</TD>
<TD>destination IP address</TD>
<TD>5.6.7.8</TD></TR>
<TR><TD><TT>-n|--name hostname</TD>
<TD>name to query</TD>
<TD>www.example.com</TD></TR>
<TR><TD><TT>-y|--type data</TD>
<TD>type (a, ptr, ns, etc.)</TD>
<TD>a</TD></TR>
<TR><TD><TT>-d|--device device</TD>
<TD>device name</TD>
<TD>Eth0</TD></TR>
<TR><TD><TT>-E|--src-eth eth</TD>
<TD>source ethernet address</TD>
<TD>0:2:3:4:5:6</TD></TR>
<TR><TD><TT>-e|--dst-eth eth</TD>
<TD>destination ethernet address</TD>
<TD>0:8:9:a:b:c</TD></TR>
<TR><TD><TT>-I|--src-ip ip</TD>
<TD>source IP address</TD>
<TD>192.168.100.6</TD></TR>
<TR><TD><TT>-P|--src-port port</TD>
<TD>source port number</TD>
<TD>0</TD></TR>
<TR><TD><TT>-p|--dst-port port</TD>
<TD>destination port number</TD>
<TD>53</TD></TR>
<TR><TD><TT>-o|--ip4opts ip4opts</TD>
<TD>IPv4 options</TD>
<TD>&nbsp;</TD></TR>
<TR><TD><TT>-O|--ip6exts ip6exts</TD>
<TD>IPv6 extensions</TD>
<TD>&nbsp;</TD></TR>
<TR><TD><TT>-c|--class data</TD>
<TD>class (in, ch, etc.)</TD>
<TD>in</TD></TR>
<TR><TD><TT>-u|--recurdesired|+u|--no-recurdesired</TD>
<TD>recursion desired</TD>
<TD>&nbsp;</TD></TR>
<TR><TD><TT>-C|--tcp|+C|--no-tcp</TD>
<TD>if use TCP instead of UDP</TD>
<TD>&nbsp;</TD></TR>
<TR><TD><TT>-T|--timeout uint32</TD>
<TD>timeout in milliseconds</TD>
<TD>60000 </TD></TR>
</TABLE>

  <P><H3>Examples:</H3>
  &nbsp;&nbsp;netwox 102 -i "5.6.7.8" -n "www.example.com" -y "a"<BR>
<BR>
  &nbsp;&nbsp;netwox 102 --dst-ip "5.6.7.8" --name "www.example.com" --type "a"<BR>
<BR>
 </BODY>
 </HTML>