HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)
n
named(1M) named(1M)
NAME
named - Internet domain name server
SYNOPSIS
named [ -c config_file ][
-d debuglevel ][-f ][-g ][-n
no_of_cpus ][-p port_number ]
[
-t directory ][-u
user_id ][-v]
DESCRIPTION
named is the Internet domain name server. See RFC 1033, RFC 1034, and RFC 1035 for more informa-
tion on the Domain Name System (DNS). Without any arguments,
named reads the default configuration
file
/etc/named.conf
, reads any initial data, and listens for queries.
named requires superuser
privileges to execute.
Options
-c config_file
Use a config_file other than
/etc/named.conf.
-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 multi-
ple, distinct levels of debugging for each of a large set of categories of events (such as
queries, transfers in or out, etc.).
-f Run this process in the foreground; don’t fork(2) and daemonize. (The default is to dae-
monize.)
-g Specifies to log all the logging to stderr while named is running in foreground.
-n no_of_cpus
This option can be used to create worker threads equal to no_of_cpus to take advantage
of multiple CPUs. If no option is given, named will try to determine the number of CPUs
present and create one thread per CPU. If named is unable to determine the number of
CPUs, a single worker thread is created.
-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.
-t directory
Specifies the working directory the server should run. directory clause of the
configuration file’s options statement overrides any value specified on the command
line. The default working directory is the current directory (.).
-u user_id
Specifies the user the server should run as after it initializes. The value specified may be
either a username or a numeric user id.
-v Report version number and exit.
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,
only the last is used. Lines in the configuration file cannot be continued on subsequent lines. The follow-
ing is a small example:
//
/* configuration file for name server */
#
options {
directory "/usr/local/domain";
forwarders {
10.0.0.78;
Section 1M−−488 Hewlett-Packard Company − 1 − HP-UX 11i Version 2: August 2003