Manual Page Result
0
Command: ns | Section: 8 | Source: UNIX v10 | File: ns.8
NS(8) System Manager's Manual 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 service server if
option -m was specified.
The file contains instructions for building the database. These in-
structions are lines of one of the following forms:
#uusys file Read the named uucp Systems file. For entries using
caller add a database entry containing
system telephone-number,tel uucp,svc
For entries using caller or 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 net-
works 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 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 ig-
nored.
Any other lines are taken as literal database entries: a collection of
value,attribute pairs separated by spaces. Each line is a single en-
try.
The database is ephemeral; it is rebuilt whenever ns starts, when re-
quested by qns reset, or when ns notices that ns.db or one of the files
named therein has changed. Rebuilding can take several minutes, espe-
cially 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)
NS(8)