Name

named

Synopsis

named [options]

TCP/IP command. Internet domain nameserver. named is used by resolver libraries to provide access to the Internet distributed naming database. With no arguments, named reads /etc/named.conf for any initial data and listens for queries on a privileged port. See RFC 1034 and RFC 1035 for more details.

There are several named binaries available at different Linux archives, displaying various behaviors. Here we describe named as provided by Internet Software Consortium’s Berkeley Internet Name Domain (BIND) version 9.2.x.

Options

-c file

Read configuration information from file instead of /etc/named.conf.

-d debuglevel

Print debugging information. debuglevel is a number indicating the level of messages printed.

-f

Run named in the foreground.

-g

Run named in the foreground and send all log messages to standard error.

-n n

Specify the number of processors in a multiprocessor system. Normally named can autodetect the number of CPUs.

-p port

Use port as the port number. Default is 53.

-t dir

Change root to specified directory after reading command arguments but before reading the configuration file. Useful only when running with option -u.

-u user

Set the user ID to user after completing any privileged operations.

-v

Print version, then exit.

File

/etc/named.conf

Read when named starts up.

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.