xref: /csrg-svn/old/gettable/gettable.8 (revision 18967)
Copyright (c) 1983 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.

@(#)gettable.8 5.1 (Berkeley) 04/27/85

GETTABLE 8C "4 March 1983"
C 5
NAME
gettable - get NIC format host tables from a host
SYNOPSIS
/etc/gettable host
DESCRIPTION
Gettable is a simple program used to obtain the NIC standard host tables from a ``nicname'' server. The indicated host is queried for the tables. The tables, if retrieved, are placed in the file hosts.txt .

Gettable operates by opening a TCP connection to the port indicated in the service specification for ``nicname''. 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 (8) program which converts the NIC standard file format to that used by the network library lookup routines.

"SEE ALSO"
intro(3N), htable(8)
BUGS
Should allow requests for only part of the database.