1 .\" $NetBSD: named.8,v 1.7 2014/12/10 04:37:51 christos Exp $
3 .\" Copyright (C) 2004-2009, 2011, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
4 .\" Copyright (C) 2000, 2001, 2003 Internet Software Consortium.
6 .\" Permission to use, copy, modify, and/or distribute this software for any
7 .\" purpose with or without fee is hereby granted, provided that the above
8 .\" copyright notice and this permission notice appear in all copies.
10 .\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
11 .\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12 .\" AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
13 .\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14 .\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
15 .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16 .\" PERFORMANCE OF THIS SOFTWARE.
24 .\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
25 .\" Date: February 19, 2014
29 .TH "NAMED" "8" "February 19, 2014" "BIND9" "BIND9"
30 .\" disable hyphenation
32 .\" disable justification (adjust text to left margin only)
35 named \- Internet domain name server
38 \fBnamed\fR [\fB\-4\fR] [\fB\-6\fR] [\fB\-c\ \fR\fB\fIconfig\-file\fR\fR] [\fB\-d\ \fR\fB\fIdebug\-level\fR\fR] [\fB\-D\ \fR\fB\fIstring\fR\fR] [\fB\-E\ \fR\fB\fIengine\-name\fR\fR] [\fB\-f\fR] [\fB\-g\fR] [\fB\-m\ \fR\fB\fIflag\fR\fR] [\fB\-n\ \fR\fB\fI#cpus\fR\fR] [\fB\-p\ \fR\fB\fIport\fR\fR] [\fB\-s\fR] [\fB\-S\ \fR\fB\fI#max\-socks\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-U\ \fR\fB\fI#listeners\fR\fR] [\fB\-u\ \fR\fB\fIuser\fR\fR] [\fB\-v\fR] [\fB\-V\fR] [\fB\-x\ \fR\fB\fIcache\-file\fR\fR]
42 is a Domain Name System (DNS) server, part of the BIND 9 distribution from ISC. For more information on the DNS, see RFCs 1033, 1034, and 1035.
44 When invoked without arguments,
46 will read the default configuration file
47 \fI/etc/named.conf\fR, read any initial data, and listen for queries.
52 Use IPv4 only even if the host machine is capable of IPv6.
56 are mutually exclusive.
61 Use IPv6 only even if the host machine is capable of IPv4.
65 are mutually exclusive.
68 \-c \fIconfig\-file\fR
72 as the configuration file instead of the default,
73 \fI/etc/named.conf\fR. To ensure that reloading the configuration file continues to work after the server has changed its working directory due to to a possible
75 option in the configuration file,
77 should be an absolute pathname.
80 \-d \fIdebug\-level\fR
82 Set the daemon's debug level to
83 \fIdebug\-level\fR. Debugging traces from
85 become more verbose as the debug level increases.
90 Specifies a string that is used to identify a instance of
92 in a process listing. The contents of
97 \-E \fIengine\-name\fR
99 When applicable, specifies the hardware to use for cryptographic operations, such as a secure key store used for signing.
101 When BIND is built with OpenSSL PKCS#11 support, this defaults to the string "pkcs11", which identifies an OpenSSL engine that can drive a cryptographic accelerator or hardware service module. When BIND is built with native PKCS#11 cryptography (\-\-enable\-native\-pkcs11), it defaults to the path of the PKCS#11 provider library specified via "\-\-with\-pkcs11".
106 Run the server in the foreground (i.e. do not daemonize).
111 Run the server in the foreground and force all logging to
117 Turn on memory usage debugging flags. Possible flags are
122 \fImctx\fR. These correspond to the ISC_MEM_DEBUGXXXX flags described in
130 worker threads to take advantage of multiple CPUs. If not specified,
132 will try to determine the number of CPUs present and create one thread per CPU. If it is unable to determine the number of CPUs, a single worker thread will be created.
137 Listen for queries on port
138 \fIport\fR. If not specified, the default is port 53.
143 Write memory usage statistics to
148 This option is mainly of interest to BIND 9 developers and may be removed or changed in a future release.
152 \-S \fI#max\-socks\fR
158 sockets. The default value is 4096 on systems built with default configuration options, and 21000 on systems built with "configure \-\-with\-tuning=large".
161 This option should be unnecessary for the vast majority of users. The use of this option could even be harmful because the specified value may exceed the limitation of the underlying system API. It is therefore set only when the default configuration causes exhaustion of file descriptors and the operational environment is known to support the specified number of sockets. Note also that the actual maximum number is normally a little fewer than the specified value because
163 reserves some file descriptors for its internal use.
171 after processing the command line arguments, but before reading the configuration file.
174 This option should be used in conjunction with the
176 option, as chrooting a process running as root doesn't enhance security on most systems; the way
178 is defined allows a process with root privileges to escape a chroot jail.
186 worker threads to listen for incoming UDP packets on each address. If not specified,
188 will calculate a default value based on the number of detected CPUs: 1 for 1 CPU, 2 for 2\-4 CPUs, and the number of detected CPUs divided by 2 for values higher than 4. If
190 has been set to a higher value than the number of detected CPUs, then
192 may be increased as high as that value, but no higher.
199 after completing privileged operations, such as creating sockets that listen on privileged ports.
204 uses the kernel's capability mechanism to drop all root privileges except the ability to
206 to a privileged port and set process resource limits. Unfortunately, this means that the
208 option only works when
210 is run on kernel 2.2.18 or later, or kernel 2.3.99\-pre3 or later, since previous kernels did not allow privileges to be retained after
217 Report the version number and exit.
222 Report the version number and build options, and exit.
225 \-x \fIcache\-file\fR
229 into the cache of the default view.
232 This option must not be used. It is only of interest to BIND 9 developers and may be removed or changed in a future release.
237 In routine operation, signals should not be used to control the nameserver;
239 should be used instead.
243 Force a reload of the server.
248 Shut down the server.
251 The result of sending any other signals to the server is undefined.
256 configuration file is too complex to describe in detail here. A complete description is provided in the
257 BIND 9 Administrator Reference Manual.
262 (file creation mode mask) from the parent process. If files created by
263 \fBnamed\fR, such as journal files, need to have custom permissions, the
265 should be set explicitly in the script used to start the
270 \fI/etc/named.conf\fR
272 The default configuration file.
275 \fI/var/run/named/named.pid\fR
277 The default process\-id file.
284 \fBnamed\-checkconf\fR(8),
285 \fBnamed\-checkzone\fR(8),
289 BIND 9 Administrator Reference Manual.
292 Internet Systems Consortium
294 Copyright \(co 2004\-2009, 2011, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
296 Copyright \(co 2000, 2001, 2003 Internet Software Consortium.