4.3BSD-UWisc/man/cat8/gettable.8c




GETTABLE(8C)        UNIX Programmer's Manual         GETTABLE(8C)



NAME
     gettable - get NIC format host tables from a host

SYNOPSIS
     /etc/gettable [ -v ] _h_o_s_t [ outfile ]

DESCRIPTION
     _G_e_t_t_a_b_l_e is a simple program used to obtain the NIC standard
     host tables from a ``nicname'' server.  The indicated _h_o_s_t
     is queried for the tables.  The tables, if retrieved, are
     placed in the file _o_u_t_f_i_l_e or by default, _h_o_s_t_s._t_x_t.

     The -v option will get just the version number instead of
     the complete host table and put the output in the file _o_u_t_-
     _f_i_l_e or by default, _h_o_s_t_s._v_e_r.

     _G_e_t_t_a_b_l_e 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.

     _G_e_t_t_a_b_l_e is best used in conjunction with the _h_t_a_b_l_e(8) pro-
     gram which converts the NIC standard file format to that
     used by the network library lookup routines.

SEE ALSO
     intro(3N), htable(8), named(8)

BUGS
     If the name-domain system provided network name mapping well
     as host name mapping, _g_e_t_t_a_b_l_e would no longer be needed.
























Printed 12/27/86          May 22, 1986                          1