man(1) Manual page archive


     NS(8)                                                       NS(8)

     NAME
          ns - name server database

     SYNOPSIS
          /usr/ipc/mgrs/ns [ -m server ] [ -d ]

     DESCRIPTION
          Ns maintains a database of naming information, accessed by
          qns(7) and other programs.  It should be run once from
          rc(8).

          The database is accessed through local service ns, or ser-
          vice server if option -m was specified.

          The file contains instructions for building the database.
          These instructions are lines of one of the following forms:

          #uusys file      Read the named uucp Systems file. For
                           entries using caller `ACU', add a database
                           entry containing

                                system  telephone-number,tel  uucp,svc

                           For entries using caller `DK' or `DKH', add
                           an entry containing

                                system  datakit-address,dk  uucp,svc

                           For any other entry, add

                                system  uucp,svc

          #inhost file     For each line in the named 4BSD-style
                           internet hosts file, add a database entry
                           of the form

                                ip-address,in  hostname
                                host-domain-name,dom

          #innet file      For each line in the named 4BSD-style
                           internet networks file, add a database
                           entry of the form

                                ip-net-address,in  netname

          #include file    Interpret the contents of file in the same
                           format as ns.db.

          In all cases, file may be followed by a list of
          value,attribute pairs to be included with any database

     NS(8)                                                       NS(8)

          entries caused by that file.  If the filename doesn't begin
          with `/', it is prefixed with /usr/ipc/lib.

          Blank lines and lines beginning with `#' followed by a space
          or tab are ignored.

          Any other lines are taken as literal database entries: a
          collection of value,attribute pairs separated by spaces.
          Each line is a single entry.

          The database is ephemeral; it is rebuilt whenever ns starts,
          when requested by qns reset, or when ns notices that ns.db
          or one of the files named therein has changed.  Rebuilding
          can take several minutes, especially on a busy machine.
          During a rebuild, the server appears active but does not
          answer requests; calls will block until the rebuild fin-
          ishes.

          Ns leaves remarks in file There are more remarks if the -d
          option was used.

     FILES
     SEE ALSO
          ipc(3), qns(7)