man.named-checkconf.html revision f0aad5341752aefe5059832f6cf3abc3283c6e16
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync - Copyright (C) 2000-2016 Internet Systems Consortium, Inc. ("ISC")
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync - This Source Code Form is subject to the terms of the Mozilla Public
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync - License, v. 2.0. If a copy of the MPL was not distributed with this
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync - file, You can obtain one at http://mozilla.org/MPL/2.0/.
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync<link rel="home" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync<link rel="up" href="Bv9ARM.ch13.html" title="Manual pages">
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync<link rel="prev" href="man.named.conf.html" title="named.conf">
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync<link rel="next" href="man.named-checkzone.html" title="named-checkzone">
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync<tr><th colspan="3" align="center"><span class="application">named-checkconf</span></th></tr>
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync<a accesskey="p" href="man.named.conf.html">Prev</a>�</td>
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync<td width="20%" align="right">�<a accesskey="n" href="man.named-checkzone.html">Next</a>
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync<a name="man.named-checkconf"></a><div class="titlepage"></div>
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync<p><span class="application">named-checkconf</span> — named configuration file syntax checking tool</p>
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync<div class="cmdsynopsis"><p><code class="command">named-checkconf</code> [<code class="option">-hjvz</code>] [<code class="option">-p</code>
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync ]] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] {filename}</p></div>
d9992886d98f1ab92fe43b15a58f75a374cb3f1evboxsync<p><span class="command"><strong>named-checkconf</strong></span>
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync checks the syntax, but not the semantics, of a
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync <span class="command"><strong>named</strong></span> configuration file. The file is parsed
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync and checked for syntax errors, along with all files included by it.
d9992886d98f1ab92fe43b15a58f75a374cb3f1evboxsync If no file is specified, <code class="filename">/etc/named.conf</code> is read
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync by default.
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync Note: files that <span class="command"><strong>named</strong></span> reads in separate
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync parser contexts, such as <code class="filename">rndc.key</code> and
d9992886d98f1ab92fe43b15a58f75a374cb3f1evboxsync <code class="filename">bind.keys</code>, are not automatically read
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync by <span class="command"><strong>named-checkconf</strong></span>. Configuration
7d311ea5bfcbdab3122444f92e7c0d003b3e0baavboxsync errors in these files may cause <span class="command"><strong>named</strong></span> to
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync fail to run, even if <span class="command"><strong>named-checkconf</strong></span> was
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync successful. <span class="command"><strong>named-checkconf</strong></span> can be run
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync on these files explicitly, however.
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync Print the usage summary and exit.
34370838dcf25e846b2a3b0032ce1eb47a1eb351vboxsync When loading a zonefile read the journal if it exists.
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync Print out the <code class="filename">named.conf</code> and included files
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync in canonical form if no errors were detected.
8d1ef2acf41d1d8a0f69bfe0ac1f41638160399cvboxsync See also the <code class="option">-x</code> option.
7d311ea5bfcbdab3122444f92e7c0d003b3e0baavboxsync<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
7d311ea5bfcbdab3122444f92e7c0d003b3e0baavboxsync Chroot to <code class="filename">directory</code> so that include
7d311ea5bfcbdab3122444f92e7c0d003b3e0baavboxsync directives in the configuration file are processed as if
a15193fde4a107aa1e915150a4404faf54be3217vboxsync run by a similarly chrooted <span class="command"><strong>named</strong></span>.
a15193fde4a107aa1e915150a4404faf54be3217vboxsync Print the version of the <span class="command"><strong>named-checkconf</strong></span>
b6ea7dd77356d302c1de4b5de4b93286bb9d4698vboxsync program and exit.
7d311ea5bfcbdab3122444f92e7c0d003b3e0baavboxsync When printing the configuration files in canonical
7d311ea5bfcbdab3122444f92e7c0d003b3e0baavboxsync form, obscure shared secrets by replacing them with
7d311ea5bfcbdab3122444f92e7c0d003b3e0baavboxsync strings of question marks ('?'). This allows the
7d311ea5bfcbdab3122444f92e7c0d003b3e0baavboxsync contents of <code class="filename">named.conf</code> and related
7d311ea5bfcbdab3122444f92e7c0d003b3e0baavboxsync files to be shared — for example, when submitting
7d311ea5bfcbdab3122444f92e7c0d003b3e0baavboxsync bug reports — without compromising private data.
7d311ea5bfcbdab3122444f92e7c0d003b3e0baavboxsync This option cannot be used without <code class="option">-p</code>.
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync Perform a test load of all master zones found in
7d311ea5bfcbdab3122444f92e7c0d003b3e0baavboxsync The name of the configuration file to be checked. If not
51a716fe483262ec1d9eecc7d2df1253abf27df0vboxsync specified, it defaults to <code class="filename">/etc/named.conf</code>.
7d311ea5bfcbdab3122444f92e7c0d003b3e0baavboxsync<p><span class="command"><strong>named-checkconf</strong></span>
7d311ea5bfcbdab3122444f92e7c0d003b3e0baavboxsync returns an exit status of 1 if
7d311ea5bfcbdab3122444f92e7c0d003b3e0baavboxsync errors were detected and 0 otherwise.
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync <span class="citerefentry"><span class="refentrytitle">named-checkzone</span>(8)</span>,
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync <em class="citetitle">BIND 9 Administrator Reference Manual</em>.
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync<a accesskey="p" href="man.named.conf.html">Prev</a>�</td>
eb3b2105f4ddc43a079d86ae7898917309ec8fb9vboxsync<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch13.html">Up</a></td>
26dc7054f20a40eb53fc91c014e952922370be67vboxsync<td width="40%" align="right">�<a accesskey="n" href="man.named-checkzone.html">Next</a>
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
05e698791961dae5d0330f0be614211cefdc3b8evboxsync<td width="40%" align="right" valign="top">�<span class="application">named-checkzone</span>
a4b605335b7e6a6ba6d5a301bc96de0e89e4b663vboxsync<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.11.0</p>