2 .\" Copyright 1989 AT&T Copyright (c) 1997 Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH GETTABLE 1M "Sep 14, 1992"
8 gettable \- get DoD Internet format host table from a host
12 \fB/usr/sbin/gettable\fR \fIhost\fR
18 \fBgettable\fR is a simple program used to obtain the DoD Internet host table
19 from a "hostname" server. The specified \fIhost\fR is queried for the table.
20 The table is placed in the file \fBhosts.txt\fR.
23 \fBgettable\fR operates by opening a \fBTCP\fR connection to the port indicated
24 in the service specification for "hostname". A request is then made for all
25 names and the resultant information is placed in the output file.
28 \fBgettable\fR is best used in conjunction with the \fBhtable\fR(1M) program
29 which converts the DoD Internet host table format to that used by the network
30 library lookup routines.
34 \fBhtable\fR(1M), \fBattributes\fR(5) Harrenstien, Ken, Mary Stahl, and
35 Elizabeth Feinler, \fI\fR \fBHOSTNAME\fR \fIServer\fR, \fBRFC\fR 953, Network
36 Information Center, \fBSRI\fR International, Menlo Park, California, October
41 Should allow requests for only part of the database.