gettable.1m revision c10c16dec587a0662068f6e2991c29ed3a9db943
te
Copyright 1989 AT&T Copyright (c) 1997 Sun Microsystems, Inc. All Rights Reserved.
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.
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.
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]
gettable 1M "14 Sep 1992" "SunOS 5.11" "System Administration Commands"
NAME
gettable - get DoD Internet format host table from a host
SYNOPSIS

/usr/sbin/gettable host
DESCRIPTION

gettable is a simple program used to obtain the DoD Internet host table from a "hostname" server. The specified host is queried for the table. The table is placed in the file hosts.txt.

gettable operates by opening a TCP connection to the port indicated in the service specification for "hostname". A request is then made for all names and the resultant information is placed in the output file.

gettable is best used in conjunction with the htable(1M) program which converts the DoD Internet host table format to that used by the network library lookup routines.

SEE ALSO

htable(1M), attributes(5) Harrenstien, Ken, Mary Stahl, and Elizabeth Feinler, HOSTNAME Server, RFC 953, Network Information Center, SRI International, Menlo Park, California, October 1985.

NOTES

Should allow requests for only part of the database.