Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mkhosts(1M) — sys5 — Apollo Domain/OS SR10.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gethostbyname(3)

gettable(1M)

hosts(4)

htable(1M)

named(1M)

MKHOSTS(1M)                     Domain/OS SysV                     MKHOSTS(1M)




NAME
     mkhosts - generate hashed host table

SYNOPSIS
     /etc/mkhosts [ -v ] [ hostfile ]

DESCRIPTION
     The mkhosts command is used to generate the hashed host database used by
     one version of the library routines gethostbyaddr(3N) and
     gethostbyname(3N) .  It is not used if host name translation is performed
     by named (1M).

     The new database is build in a set of temporary files and only replaces
     the real database if the new one is built without errors.  mkhosts will
     exit with a non-zero exit code if any errors are detected.

OPTIONS
     -v        List each host as it is added.  The default hostfile is
               /etc/hosts.  If another file is specified, it must be in the
               format of /etc/hosts (see hosts(4)).  mkhosts will generate
               database files named hostfile.pag and hostfile.dir.

FILES
     hostfile.pag        - real database filenames
     hostfile.dir
     hostfile.new.pag    - temporary database filenames
     hostfile.new.dir

SEE ALSO
     gethostbyname(3), gettable(1M), hosts(4), htable(1M), named(1M);
     Configuring and Managing TCP/IP.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026