|
|
1.1 root 1: .\" Copyright (c) 1983 The Regents of the University of California.
2: .\" All rights reserved.
3: .\"
4: .\" Redistribution and use in source and binary forms are permitted
5: .\" provided that the above copyright notice and this paragraph are
6: .\" duplicated in all such forms and that any documentation,
7: .\" advertising materials, and other materials related to such
8: .\" distribution and use acknowledge that the software was developed
9: .\" by the University of California, Berkeley. The name of the
10: .\" University may not be used to endorse or promote products derived
11: .\" from this software without specific prior written permission.
12: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
13: .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14: .\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
15: .\"
16: .\" @(#)gettable.8 6.3 (Berkeley) 9/20/88
17: .\"
18: .TH GETTABLE 8 "September 20, 1988"
19: .UC 5
20: .SH NAME
21: gettable \- get NIC format host tables from a host
22: .SH SYNOPSIS
23: .B /etc/gettable
24: [
25: .B \-v
26: ]
27: .I host
28: [ outfile ]
29: .SH DESCRIPTION
30: .I Gettable
31: is a simple program used to obtain the NIC standard
32: host tables from a ``nicname'' server. The indicated
33: .I host
34: is queried for the tables. The tables, if retrieved,
35: are placed in the file
36: .I outfile
37: or by default,
38: .IR hosts.txt .
39: .PP
40: The
41: .B \-v
42: option will get just the version number instead of the complete host table
43: and put the output in the file
44: .I outfile
45: or by default,
46: .IR hosts.ver .
47: .PP
48: .I Gettable
49: operates by opening a TCP connection to the port indicated
50: in the service specification for ``nicname''. A request
51: is then made for ``ALL'' names and the resultant information
52: is placed in the output file.
53: .PP
54: .I Gettable
55: is best used in conjunction with the
56: .IR htable (8)
57: program which converts the NIC standard file format to
58: that used by the network library lookup routines.
59: .SH "SEE ALSO"
60: intro(3), htable(8), named(8)
61: .SH BUGS
62: If the name-domain system provided network name mapping well as host
63: name mapping,
64: .I gettable
65: would no longer be needed.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.