Annotation of 43BSDTahoe/man/man8/htable.8, revision 1.1.1.1

1.1       root        1: .\" Copyright (c) 1983 Regents of the University of California.
                      2: .\" All rights reserved.  The Berkeley software License Agreement
                      3: .\" specifies the terms and conditions for redistribution.
                      4: .\"
                      5: .\"    @(#)htable.8    6.3 (Berkeley) 5/22/86
                      6: .\"
                      7: .TH HTABLE 8 "May 22, 1986"
                      8: .UC 5
                      9: .SH NAME
                     10: htable \- convert NIC standard format host tables
                     11: .SH SYNOPSIS
                     12: .B /etc/htable
                     13: [
                     14: .B \-c
                     15: .I connected-nets
                     16: ] [
                     17: .B \-l
                     18: .I local-nets
                     19: ]
                     20: .I file
                     21: .SH DESCRIPTION
                     22: .I Htable
                     23: is used to convert host files in the format specified
                     24: in Internet RFC 810 to the format used by the network
                     25: library routines.  Three files are created as a result
                     26: of running 
                     27: .IR htable :
                     28: .IR hosts ,
                     29: .IR networks ,
                     30: and
                     31: .IR gateways .
                     32: The 
                     33: .I hosts
                     34: file may be used by the 
                     35: .IR gethostbyname (3N)
                     36: routines in mapping host names to addresses
                     37: if the nameserver,
                     38: .IR named (8),
                     39: is not used.
                     40: The
                     41: .I networks
                     42: file is used by the
                     43: .IR getnetent (3N)
                     44: routines in mapping network names to numbers.
                     45: The
                     46: .I gateways
                     47: file may be used by the routing daemon
                     48: in identifying ``passive'' Internet gateways;
                     49: see
                     50: .IR routed (8C)
                     51: for an explanation.
                     52: .PP
                     53: If any of the files
                     54: .IR localhosts ,
                     55: .IR localnetworks ,
                     56: or
                     57: .I localgateways
                     58: are present in the current directory,
                     59: the file's contents is prepended to the
                     60: output file.
                     61: Of these, only the gateways file is interpreted.
                     62: This allows sites to maintain local aliases and
                     63: entries which are not normally present in the
                     64: master database.
                     65: Only one gateway to each network will be placed in the gateways file;
                     66: a gateway listed in the localgateways file will override any in the
                     67: input file.
                     68: .PP
                     69: If the gateways file is to be used,
                     70: a list of networks to which the host is directly connected
                     71: is specified with the
                     72: .B \-c
                     73: flag.
                     74: The networks, separated by commas,
                     75: may be given by name or in Internet-standard dot notation,
                     76: e.g.
                     77: .B \-c
                     78: arpanet,128.32,local-ether-net.
                     79: .I Htable
                     80: only includes gateways
                     81: which are directly connected to one of the networks specified,
                     82: or which can be reached from another gateway on a connected net.
                     83: .PP
                     84: If the
                     85: .B \-l
                     86: option is given with a list of networks (in the same format as for
                     87: .BR \-c ),
                     88: these networks will be treated as ``local,''
                     89: and information about hosts on local networks is
                     90: taken only from the localhosts file.
                     91: Entries for local hosts from the main database will be omitted.
                     92: This allows the localhosts file to completely override
                     93: any entries in the input file.
                     94: .PP
                     95: .I Htable
                     96: is best used in conjunction with the
                     97: .IR gettable (8C)
                     98: program which retrieves the NIC database from a host.
                     99: .SH "SEE ALSO"
                    100: intro(3N),
                    101: gettable(8C),
                    102: named(8)
                    103: .SH BUGS
                    104: If the name-domain system provided network name mapping well as host
                    105: name mapping,
                    106: .I htable
                    107: would no longer be needed.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.