named.docbook revision 5a505fc4c2e99842052d9409790c7da0b5663bce
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews [<!ENTITY mdash "—">]>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews - Copyright (C) 2004-2009, 2011, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews - Copyright (C) 2000, 2001, 2003 Internet Software Consortium.
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews - Permission to use, copy, modify, and/or distribute this software for any
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews - purpose with or without fee is hereby granted, provided that the above
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews - copyright notice and this permission notice appear in all copies.
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2cd8a160b9e2c0c7a016b534652b5c909f36ed4aMark Andrews - PERFORMANCE OF THIS SOFTWARE.
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <refentryinfo>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews </refentryinfo>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <refentrytitle><application>named</application></refentrytitle>
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews <refnamediv>
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews <refname><application>named</application></refname>
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews <refpurpose>Internet domain name server</refpurpose>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews </refnamediv>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews </copyright>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews </copyright>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <refsynopsisdiv>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <cmdsynopsis>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <arg><option>-c <replaceable class="parameter">config-file</replaceable></option></arg>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <arg><option>-d <replaceable class="parameter">debug-level</replaceable></option></arg>
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews <arg><option>-D <replaceable class="parameter">string</replaceable></option></arg>
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews <arg><option>-E <replaceable class="parameter">engine-name</replaceable></option></arg>
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews <arg><option>-L <replaceable class="parameter">logfile</replaceable></option></arg>
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews <arg><option>-M <replaceable class="parameter">option</replaceable></option></arg>
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews <arg><option>-m <replaceable class="parameter">flag</replaceable></option></arg>
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews <arg><option>-n <replaceable class="parameter">#cpus</replaceable></option></arg>
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews <arg><option>-p <replaceable class="parameter">port</replaceable></option></arg>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <arg><option>-S <replaceable class="parameter">#max-socks</replaceable></option></arg>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <arg><option>-U <replaceable class="parameter">#listeners</replaceable></option></arg>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <arg><option>-u <replaceable class="parameter">user</replaceable></option></arg>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <arg><option>-X <replaceable class="parameter">lock-file</replaceable></option></arg>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <arg><option>-x <replaceable class="parameter">cache-file</replaceable></option></arg>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews </cmdsynopsis>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews </refsynopsisdiv>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews is a Domain Name System (DNS) server,
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews part of the BIND 9 distribution from ISC. For more
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews information on the DNS, see RFCs 1033, 1034, and 1035.
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews When invoked without arguments, <command>named</command>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews read the default configuration file
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <filename>/etc/named.conf</filename>, read any initial
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews data, and listen for queries.
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <variablelist>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <varlistentry>
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews Use IPv4 only even if the host machine is capable of IPv6.
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews <option>-4</option> and <option>-6</option> are mutually
2cd8a160b9e2c0c7a016b534652b5c909f36ed4aMark Andrews </varlistentry>
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews <varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews Use IPv6 only even if the host machine is capable of IPv4.
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <option>-4</option> and <option>-6</option> are mutually
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews </varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <term>-c <replaceable class="parameter">config-file</replaceable></term>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews Use <replaceable class="parameter">config-file</replaceable> as the
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews configuration file instead of the default,
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews ensure that reloading the configuration file continues
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews to work after the server has changed its working
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews directory due to to a possible
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <option>directory</option> option in the configuration
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews file, <replaceable class="parameter">config-file</replaceable> should be
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews an absolute pathname.
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews </varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <term>-d <replaceable class="parameter">debug-level</replaceable></term>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews Set the daemon's debug level to <replaceable class="parameter">debug-level</replaceable>.
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews Debugging traces from <command>named</command> become
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews more verbose as the debug level increases.
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews </varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <term>-D <replaceable class="parameter">string</replaceable></term>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews Specifies a string that is used to identify a instance of
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <command>named</command> in a process listing. The contents
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews of <replaceable class="parameter">string</replaceable> are
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews not examined.
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews </varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <term>-E <replaceable class="parameter">engine-name</replaceable></term>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews When applicable, specifies the hardware to use for
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews cryptographic operations, such as a secure key store used
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews for signing.
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews When BIND is built with OpenSSL PKCS#11 support, this defaults
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews to the string "pkcs11", which identifies an OpenSSL engine
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews that can drive a cryptographic accelerator or hardware service
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews module. When BIND is built with native PKCS#11 cryptography
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews (--enable-native-pkcs11), it defaults to the path of the PKCS#11
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews provider library specified via "--with-pkcs11".
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews </varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews Run the server in the foreground (i.e. do not daemonize).
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews </varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews Run the server in the foreground and force all logging
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews </varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <term>-L <replaceable class="parameter">logfile</replaceable></term>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews Log to the file <option>logfile</option> by default
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews instead of the system log.
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews </varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <term>-M <replaceable class="parameter">option</replaceable></term>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews Sets the default memory context options. Currently
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews the only supported option is
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <replaceable class="parameter">external</replaceable>,
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews which causes the internal memory manager to be bypassed
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews in favor of system-provided memory allocation functions.
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews </varlistentry>
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews <varlistentry>
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews <term>-m <replaceable class="parameter">flag</replaceable></term>
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews Turn on memory usage debugging flags. Possible flags are
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <replaceable class="parameter">usage</replaceable>,
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <replaceable class="parameter">trace</replaceable>,
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <replaceable class="parameter">record</replaceable>,
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <replaceable class="parameter">size</replaceable>, and
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <replaceable class="parameter">mctx</replaceable>.
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews These correspond to the ISC_MEM_DEBUGXXXX flags described in
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews </varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <term>-n <replaceable class="parameter">#cpus</replaceable></term>
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews Create <replaceable class="parameter">#cpus</replaceable> worker threads
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews to take advantage of multiple CPUs. If not specified,
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <command>named</command> will try to determine the
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews number of CPUs present and create one thread per CPU.
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews If it is unable to determine the number of CPUs, a
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews single worker thread will be created.
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews </varlistentry>
8d3e74b1683f714a484bbcf73249e8ee470e36d7Mark Andrews <varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <term>-p <replaceable class="parameter">port</replaceable></term>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews Listen for queries on port <replaceable class="parameter">port</replaceable>. If not
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews specified, the default is port 53.
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews </varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews Write memory usage statistics to <filename>stdout</filename> on exit.
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews This option is mainly of interest to BIND 9 developers
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews and may be removed or changed in a future release.
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews </varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <varlistentry>
f427e7850928d15ffc37b1f68c60588995c9b318Mark Andrews <term>-S <replaceable class="parameter">#max-socks</replaceable></term>