|
|
1.1 root 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: .\"
5: .\" @(#)gettable.8c 6.2 (Berkeley) 5/22/86
6: .\"
7: .TH GETTABLE 8C "May 22, 1986"
8: .UC 5
9: .SH NAME
10: gettable \- get NIC format host tables from a host
11: .SH SYNOPSIS
12: .B /etc/gettable
13: [
14: .B \-v
15: ]
16: .I host
17: [ outfile ]
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
25: .I outfile
26: or by default,
27: .IR hosts.txt .
28: .PP
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
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),
50: htable(8),
51: named(8)
52: .SH BUGS
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.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.