Commit | Line | Data |
---|---|---|
769112e4 KM |
1 | .\" Copyright (c) 1983 Regents of the University of California. |
2 | .\" All rights reserved. The Berkeley software License Agreement | |
3 | .\" specifies the terms and conditions for redistribution. | |
4 | .\" | |
c4089c4c | 5 | .\" @(#)gettable.8 6.2 (Berkeley) %G% |
769112e4 | 6 | .\" |
5261b095 | 7 | .TH GETTABLE 8C "" |
769112e4 KM |
8 | .UC 5 |
9 | .SH NAME | |
10 | gettable \- get NIC format host tables from a host | |
11 | .SH SYNOPSIS | |
12 | .B /etc/gettable | |
5261b095 KM |
13 | [ |
14 | .B \-v | |
15 | ] | |
769112e4 | 16 | .I host |
5261b095 | 17 | [ outfile ] |
769112e4 KM |
18 | .SH DESCRIPTION |
19 | .I Gettable | |
20 | is a simple program used to obtain the NIC standard | |
21 | host tables from a ``nicname'' server. The indicated | |
22 | .I host | |
23 | is queried for the tables. The tables, if retrieved, | |
24 | are placed in the file | |
5261b095 KM |
25 | .I outfile |
26 | or by default, | |
769112e4 KM |
27 | .IR hosts.txt . |
28 | .PP | |
5261b095 KM |
29 | The |
30 | .B \-v | |
31 | option will get just the version number instead of the complete host table | |
32 | and put the output in the file | |
33 | .I outfile | |
34 | or by default, | |
35 | .IR hosts.ver . | |
36 | .PP | |
769112e4 KM |
37 | .I Gettable |
38 | operates by opening a TCP connection to the port indicated | |
39 | in the service specification for ``nicname''. A request | |
40 | is then made for ``ALL'' names and the resultant information | |
41 | is placed in the output file. | |
42 | .PP | |
43 | .I Gettable | |
44 | is best used in conjunction with the | |
45 | .IR htable (8) | |
46 | program which converts the NIC standard file format to | |
47 | that used by the network library lookup routines. | |
48 | .SH "SEE ALSO" | |
49 | intro(3N), | |
c4089c4c MK |
50 | htable(8), |
51 | named(8) | |
769112e4 | 52 | .SH BUGS |
c4089c4c MK |
53 | If the name-domain system provided network name mapping well as host |
54 | name mapping, | |
55 | .I gettable | |
56 | would no longer be needed. |