source: trunk/athena/bin/hostinfo/hostinfo.1 @ 5279

Revision 5279, 1.3 KB checked in by epeisach, 33 years ago (diff)
[tom] mx queries and fixes to allow multiple host lookups\
Line 
1.\" All rights reserved. 
2.\"
3.\"
4.\"     @(#)fg.1        6.8 (Berkeley) 11/02/87
5.\"
6.TH HOSTINFO 1 "November 16, 1987"
7.UC 4
8.de sh
9.br
10.ne 5
11.PP
12\fB\\$1\fR
13.PP
14..
15.if n .ds ua ^
16.if t .ds ua \(ua
17.if n .ds aa '
18.if t .ds aa \(aa
19.if n .ds ga `
20.if t .ds ga \(ga
21.if t .tr *\(**
22.SH NAME
23hostinfo \- ask internet nameserver for a host information
24.SH SYNOPSIS
25.HP 5
26.B hostinfo
27[options] [
28.I \-ns <name server>
29]
30<
31.I hostnames
32>
33 <
34.I addresses
35>
36.PP
37.SH DESCRIPTION
38.br
39By default,
40this command displays
41the
42.I internet
43name, all network addresses, host info and MX records for each
44host specified by
45.I hostname
46or
47.IR address.
48
49The command accepts the following options:
50.IP \fB\-h\fP 5
51The command displays only the hostname.
52.IP \fB\-a\fP 5
53The command displays only the address.
54.IP \fB\-i\fP 5
55The command displays only the host info record.
56.IP \fB\-m\fP 5
57The command displays only the MX records.
58.IP \fB\-q\fP 5
59The command suppresses hostinfo and MX record lookup which require separate
60queries.
61.PP
62Options are parsed left to right, with new options overriding previous ones
63and taking effect only for hostnames which appear afterward.
64.PP
65You may also query a specific name server by specifying the server name or
66address after the
67.I \-ns
68option.
69.PP
70.SH "SEE ALSO"
71hesinfo(1), named(8), resolver(3), resolver(5)
Note: See TracBrowser for help on using the repository browser.