man pages section 1M: System Administration Commands

Exit Print View

Updated: July 2014
 
 

gettable(1M)

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.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/network/nis

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.

This command is obsolete and will be removed in a future release of Oracle Solaris.