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