man.named.html revision 92554adb458c7b336e5390c5c9fbf2fcc1276524
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews - Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews - Copyright (C) 2000-2003 Internet Software Consortium.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews - Permission to use, copy, modify, and distribute this software for any
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews - purpose with or without fee is hereby granted, provided that the above
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews - copyright notice and this permission notice appear in all copies.
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews - PERFORMANCE OF THIS SOFTWARE.
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<!-- $Id: man.named.html,v 1.62 2007/11/26 01:35:18 marka Exp $ -->
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<link rel="prev" href="man.named-checkzone.html" title="named-checkzone">
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<link rel="next" href="man.rndc.html" title="rndc">
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<table width="100%" summary="Navigation header">
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<tr><th colspan="3" align="center"><span class="application">named</span></th></tr>
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<a accesskey="p" href="man.named-checkzone.html">Prev</a>�</td>
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<th width="60%" align="center">Manual pages</th>
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<td width="20%" align="right">�<a accesskey="n" href="man.rndc.html">Next</a>
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<a name="man.named"></a><div class="titlepage"></div>
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<p><span class="application">named</span> — Internet domain name server</p>
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<div class="cmdsynopsis"><p><code class="command">named</code> [<code class="option">-4</code>] [<code class="option">-6</code>] [<code class="option">-c <em class="replaceable"><code>config-file</code></em></code>] [<code class="option">-d <em class="replaceable"><code>debug-level</code></em></code>] [<code class="option">-f</code>] [<code class="option">-g</code>] [<code class="option">-m <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-n <em class="replaceable"><code>#cpus</code></em></code>] [<code class="option">-p <em class="replaceable"><code>port</code></em></code>] [<code class="option">-s</code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-u <em class="replaceable"><code>user</code></em></code>] [<code class="option">-v</code>] [<code class="option">-x <em class="replaceable"><code>cache-file</code></em></code>]</p></div>
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<p><span><strong class="command">named</strong></span>
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews is a Domain Name System (DNS) server,
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews part of the BIND 9 distribution from ISC. For more
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews information on the DNS, see RFCs 1033, 1034, and 1035.
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews When invoked without arguments, <span><strong class="command">named</strong></span>
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews read the default configuration file
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews <code class="filename">/etc/named.conf</code>, read any initial
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews data, and listen for queries.
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews Use IPv4 only even if the host machine is capable of IPv6.
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews <code class="option">-4</code> and <code class="option">-6</code> are mutually
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews Use IPv6 only even if the host machine is capable of IPv4.
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews <code class="option">-4</code> and <code class="option">-6</code> are mutually
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<dt><span class="term">-c <em class="replaceable"><code>config-file</code></em></span></dt>
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews Use <em class="replaceable"><code>config-file</code></em> as the
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews configuration file instead of the default,
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews <code class="filename">/etc/named.conf</code>. To
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews ensure that reloading the configuration file continues
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews to work after the server has changed its working
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews directory due to to a possible
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews <code class="option">directory</code> option in the configuration
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews file, <em class="replaceable"><code>config-file</code></em> should be
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews an absolute pathname.
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<dt><span class="term">-d <em class="replaceable"><code>debug-level</code></em></span></dt>
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews Set the daemon's debug level to <em class="replaceable"><code>debug-level</code></em>.
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews Debugging traces from <span><strong class="command">named</strong></span> become
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews more verbose as the debug level increases.
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews Run the server in the foreground (i.e. do not daemonize).
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews Run the server in the foreground and force all logging
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<dt><span class="term">-m <em class="replaceable"><code>flag</code></em></span></dt>
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews Turn on memory usage debugging flags. Possible flags are
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews <em class="replaceable"><code>usage</code></em>,
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews <em class="replaceable"><code>trace</code></em>,
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews <em class="replaceable"><code>record</code></em>,
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews <em class="replaceable"><code>size</code></em>, and
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews <em class="replaceable"><code>mctx</code></em>.
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews These correspond to the ISC_MEM_DEBUGXXXX flags described in
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews <code class="filename"><isc/mem.h></code>.
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<dt><span class="term">-n <em class="replaceable"><code>#cpus</code></em></span></dt>
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews Create <em class="replaceable"><code>#cpus</code></em> worker threads
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews to take advantage of multiple CPUs. If not specified,
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews <span><strong class="command">named</strong></span> will try to determine the
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews number of CPUs present and create one thread per CPU.
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews If it is unable to determine the number of CPUs, a
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews single worker thread will be created.
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<dt><span class="term">-p <em class="replaceable"><code>port</code></em></span></dt>
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews Listen for queries on port <em class="replaceable"><code>port</code></em>. If not
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews specified, the default is port 53.
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews Write memory usage statistics to <code class="filename">stdout</code> on exit.
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews This option is mainly of interest to BIND 9 developers
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews and may be removed or changed in a future release.
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews to <em class="replaceable"><code>directory</code></em> after
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews processing the command line arguments, but before
322e6b5be784d79d15fea9db9440dd821162c574Mark Andrews reading the configuration file.