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