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  infor-
     mation 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  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Availability                | SUNWnisu                    |
    |_____________________________|_____________________________|


SEE ALSO

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


NOTES

     Should allow requests for only part of the database.


Man(1) output converted with man2html