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 |
---|
23 | hostinfo \- 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 |
---|
39 | By default, |
---|
40 | this command displays |
---|
41 | the |
---|
42 | .I internet |
---|
43 | name, all network addresses, host info and MX records for each |
---|
44 | host specified by |
---|
45 | .I hostname |
---|
46 | or |
---|
47 | .IR address. |
---|
48 | |
---|
49 | The command accepts the following options: |
---|
50 | .IP \fB\-h\fP 5 |
---|
51 | The command displays only the hostname. |
---|
52 | .IP \fB\-a\fP 5 |
---|
53 | The command displays only the address. |
---|
54 | .IP \fB\-i\fP 5 |
---|
55 | The command displays only the host info record. |
---|
56 | .IP \fB\-m\fP 5 |
---|
57 | The command displays only the MX records. |
---|
58 | .IP \fB\-q\fP 5 |
---|
59 | The command suppresses hostinfo and MX record lookup which require separate |
---|
60 | queries. |
---|
61 | .PP |
---|
62 | Options are parsed left to right, with new options overriding previous ones |
---|
63 | and taking effect only for hostnames which appear afterward. |
---|
64 | .PP |
---|
65 | You may also query a specific name server by specifying the server name or |
---|
66 | address after the |
---|
67 | .I \-ns |
---|
68 | option. |
---|
69 | .PP |
---|
70 | .SH "SEE ALSO" |
---|
71 | hesinfo(1), named(8), resolver(3), resolver(5) |
---|
Note: See
TracBrowser
for help on using the repository browser.