gettable — Get DoD Internet Format Host Table from a Host

Synopsis

/usr/sbin/gettable host
					

Description

Use the gettable command to obtain the DoD Internet host table from a host-name 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 host name. 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) command, which converts the DoD Internet host table format to that used by the network library lookup routines.

Note

gettable should allow requests for only part of the database.

Example

The following example ...

Get Solaris™ 8 System Administrator's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.