HTABLE(8) UNIX Programmer's Manual HTABLE(8) NAME htable - convert NIC standard format host tables SYNOPSIS /etc/htable [ -c _c_o_n_n_e_c_t_e_d-_n_e_t_s ] [ -l _l_o_c_a_l-_n_e_t_s ] _f_i_l_e DESCRIPTION _H_t_a_b_l_e is used to convert host files in the format specified in Internet RFC 810 to the format used by the network library routines. Three files are created as a result of running _h_t_a_b_l_e: _h_o_s_t_s, _n_e_t_w_o_r_k_s, and _g_a_t_e_w_a_y_s. The _h_o_s_t_s file may be used by the _g_e_t_h_o_s_t_b_y_n_a_m_e(3N) routines in map- ping host names to addresses if the nameserver, _n_a_m_e_d(8), is not used. The _n_e_t_w_o_r_k_s file is used by the _g_e_t_n_e_t_e_n_t(3N) routines in mapping network names to numbers. The _g_a_t_e_w_a_y_s file may be used by the routing daemon in identifying ``pas- sive'' Internet gateways; see _r_o_u_t_e_d(8C) for an explanation. If any of the files _l_o_c_a_l_h_o_s_t_s, _l_o_c_a_l_n_e_t_w_o_r_k_s, or _l_o_c_a_l_g_a_t_e_- _w_a_y_s are present in the current directory, the file's con- tents is prepended to the output file. Of these, only the gateways file is interpreted. This allows sites to maintain local aliases and entries which are not normally present in the master database. Only one gateway to each network will be placed in the gateways file; a gateway listed in the localgateways file will override any in the input file. If the gateways file is to be used, a list of networks to which the host is directly connected is specified with the -c flag. The networks, separated by commas, may be given by name or in Internet-standard dot notation, e.g. -c arpanet,128.32,local-ether-net. _H_t_a_b_l_e only includes gate- ways which are directly connected to one of the networks specified, or which can be reached from another gateway on a connected net. If the -l option is given with a list of networks (in the same format as for -c), these networks will be treated as ``local,'' and information about hosts on local networks is taken only from the localhosts file. Entries for local hosts from the main database will be omitted. This allows the localhosts file to completely override any entries in the input file. _H_t_a_b_l_e is best used in conjunction with the _g_e_t_t_a_b_l_e(8C) program which retrieves the NIC database from a host. SEE ALSO intro(3N), gettable(8C), named(8) BUGS If the name-domain system provided network name mapping well Printed 11/26/99 May 22, 1986 1 HTABLE(8) UNIX Programmer's Manual HTABLE(8) as host name mapping, _h_t_a_b_l_e would no longer be needed. Printed 11/26/99 May 22, 1986 2