HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
n
named(1M) named(1M)
NAME
named - Internet domain name server
SYNOPSIS
named [-d debuglevel ][-p port_number ][[-(b|c)] config_file][-f ][-q ][-r ]
[-u user_name ][-g group_name ][-t directory ][-w directory ][config_file]
DESCRIPTION
named is the Internet domain name server. See RFC1033, RFC1034 and RFC1035 for more information
on the Domain Name System. Without any arguments, named reads the default configuration file
/etc/named.conf, reads any initial data, and listens for queries.
Options are:
-d debuglevel
Print debugging information. A number after the d determines the level of messages
printed. If negative, debuglevel is set to ‘‘1’’.
NOTE: The new debugging framework is considerably more sophisticated than it was in
older versions of NAMED. The configuration file’s
logging statement allows for multiple,
distinct levels of debugging for each of a large set of categories of events (such as queries,
transfers in or out, etc.).
-p port_number
Use a different port number.
NOTE: Previously, the syntax: " -p port#
[/localport#] " was supported; the first port was
that used when contacting remote servers, and the second one was the service port bound
by the local instance of
NAMED. The current usage is equivalent to the old usage without
the localport# specified; this functionality can be specified with the
listen-on clause of
the configuration file’s
options statement.
-(b|c) config_file
Use a config_file other than /etc/named.conf
.
-f Run this process in the foreground; don’t fork(2) and daemonize. (The default is to daemon-
ize.)
-q Trace all incoming queries, if NAMED has been compiled with QRYLOG defined.
NOTE: This option is deprecated in favor of the queries logging category of the
configuration file’s logging statement.
-r Turns recursion off in the server. Answers can only come from local (primary or secondary)
zones. This can be used on root servers. The default is to use recursion.
NOTE: This option can be overridden by and is deprecated in favor of the recursion
clause of the configuration file’s options statement.
-u user_name
Specifies the user the server should run as after it initializes. The value specified may be
either a username or a numeric user id. If the -g flag is not specified, then the group id
used will be the primary group of the user specified (initgroups() is called, so all of
the user’s groups will be availableto the server).
-g group_name
Specifies the group the server should run as after it initializes. The value specified may be
either a groupname or a numeric group id.
-t directory
Specifies the directory the server should chroot() into as soon as it is finished processing
command line arguments.
-w directory
Sets the working directory of the server. The directory clause of the configuration file’s
options statement overrides any value specified on the command line. The default work-
ing directory is the current directory (.).
Any additional argument is taken as the name of the configuration file. The configuration file contains
information about where the name server gets its initial data. If multiple configuration files are specified,
HP-UX Release 11i: December 2000 1 Section 1M525
___
___