[TUHS] [COFF] Pondering the hosts file
henry.r.bent at gmail.com
Fri Mar 12 04:27:48 AEST 2021
On Thu, 11 Mar 2021 at 13:14, Clem Cole <clemc at ccc.com> wrote:
> The SRI file was different format. There was a tool that fetched and
> converted from the PDP-10 scheme to the UNIX scheme - gethtable(8) or
> something like that.
gettable(8) and htable(8):
gettable - get NIC format host tables from a host
Gettable is a simple program used to obtain the NIC standard host
tables from a ``nicname'' server. The indicated host is queried for the
The tables, if retrieved, are placed in the file hosts.txt.
Gettable operates by opening a TCP connection to the port indicated
in the service specification for ``nicname''. A request is then made
``ALL'' names and the resultant information is placed in the output
Gettable is best used in conjunction with the htable(8) program
which converts the NIC standard file format to that used by the network
Should allow requests for only part of the database.
4th Berkeley Distribution 4
HTABLE(8) System Manager's Manual
htable - convert NIC standard format host tables
Htable is used to convert host files in the format specified in
net RFC 810 to the format used by the network library routines.
files are created as a result of running htable: hosts, networks,
gateways. The hosts file is used by the gethostent(3N) routines
mapping host names to addresses. The networks file is used by the
netent(3N) routines in mapping network names to numbers. The
file is used by the routing daemon in identifying ``passive''
gateways; see routed(8C) for an explanation.
If any of the files localhosts, localnetworks, or localgateways
present in the current directory, the file's contents is prepended
the output file without interpretation. This allows sites to
local aliases and entries which are not normally present in the
Htable is best used in conjunction with the gettable(8C) program
retrieves the NIC database from a host.
Does not properly calculate the gateways file.
4th Berkeley Distribution 4 March 1983
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the TUHS