Add BIND 9.2.4rc7.
[dragonfly.git] / contrib / bind-9.2.4rc7 / bin / check / named-checkconf.html
1 <!--
2  - Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
3  - Copyright (C) 2001, 2002  Internet Software Consortium.
4  -
5  - Permission to use, copy, modify, and distribute this software for any
6  - purpose with or without fee is hereby granted, provided that the above
7  - copyright notice and this permission notice appear in all copies.
8  -
9  - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10  - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11  - AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12  - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13  - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14  - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15  - PERFORMANCE OF THIS SOFTWARE.
16 -->
17
18 <!-- $Id: named-checkconf.html,v 1.5.2.3 2004/06/03 05:21:08 marka Exp $ -->
19
20 <HTML
21 ><HEAD
22 ><TITLE
23 >named-checkconf</TITLE
24 ><META
25 NAME="GENERATOR"
26 CONTENT="Modular DocBook HTML Stylesheet Version 1.73
27 "></HEAD
28 ><BODY
29 CLASS="REFENTRY"
30 BGCOLOR="#FFFFFF"
31 TEXT="#000000"
32 LINK="#0000FF"
33 VLINK="#840084"
34 ALINK="#0000FF"
35 ><H1
36 ><A
37 NAME="AEN1"
38 ><SPAN
39 CLASS="APPLICATION"
40 >named-checkconf</SPAN
41 ></A
42 ></H1
43 ><DIV
44 CLASS="REFNAMEDIV"
45 ><A
46 NAME="AEN9"
47 ></A
48 ><H2
49 >Name</H2
50 ><SPAN
51 CLASS="APPLICATION"
52 >named-checkconf</SPAN
53 >&nbsp;--&nbsp;named configuration file syntax checking tool</DIV
54 ><DIV
55 CLASS="REFSYNOPSISDIV"
56 ><A
57 NAME="AEN13"
58 ></A
59 ><H2
60 >Synopsis</H2
61 ><P
62 ><B
63 CLASS="COMMAND"
64 >named-checkconf</B
65 >  [<TT
66 CLASS="OPTION"
67 >-v</TT
68 >] [<TT
69 CLASS="OPTION"
70 >-t <TT
71 CLASS="REPLACEABLE"
72 ><I
73 >directory</I
74 ></TT
75 ></TT
76 >] {filename}</P
77 ></DIV
78 ><DIV
79 CLASS="REFSECT1"
80 ><A
81 NAME="AEN22"
82 ></A
83 ><H2
84 >DESCRIPTION</H2
85 ><P
86 >        <B
87 CLASS="COMMAND"
88 >named-checkconf</B
89 > checks the syntax, but not
90         the semantics, of a named configuration file.
91     </P
92 ></DIV
93 ><DIV
94 CLASS="REFSECT1"
95 ><A
96 NAME="AEN26"
97 ></A
98 ><H2
99 >OPTIONS</H2
100 ><P
101 ></P
102 ><DIV
103 CLASS="VARIABLELIST"
104 ><DL
105 ><DT
106 >-t <TT
107 CLASS="REPLACEABLE"
108 ><I
109 >directory</I
110 ></TT
111 ></DT
112 ><DD
113 ><P
114 >             chroot to <TT
115 CLASS="FILENAME"
116 >directory</TT
117 > so that include
118               directives in the configuration file are processed as if
119               run by a similarly chrooted named.
120           </P
121 ></DD
122 ><DT
123 >-v</DT
124 ><DD
125 ><P
126 >             Print the version of the <B
127 CLASS="COMMAND"
128 >named-checkconf</B
129 >
130               program and exit.
131           </P
132 ></DD
133 ><DT
134 >filename</DT
135 ><DD
136 ><P
137 >              The name of the configuration file to be checked.  If not
138                specified, it defaults to <TT
139 CLASS="FILENAME"
140 >/etc/named.conf</TT
141 >.
142           </P
143 ></DD
144 ></DL
145 ></DIV
146 ></DIV
147 ><DIV
148 CLASS="REFSECT1"
149 ><A
150 NAME="AEN45"
151 ></A
152 ><H2
153 >RETURN VALUES</H2
154 ><P
155 >        <B
156 CLASS="COMMAND"
157 >named-checkconf</B
158 > returns an exit status of 1 if
159         errors were detected and 0 otherwise.
160   </P
161 ></DIV
162 ><DIV
163 CLASS="REFSECT1"
164 ><A
165 NAME="AEN49"
166 ></A
167 ><H2
168 >SEE ALSO</H2
169 ><P
170 >      <SPAN
171 CLASS="CITEREFENTRY"
172 ><SPAN
173 CLASS="REFENTRYTITLE"
174 >named</SPAN
175 >(8)</SPAN
176 >,
177       <I
178 CLASS="CITETITLE"
179 >BIND 9 Administrator Reference Manual</I
180 >.
181     </P
182 ></DIV
183 ><DIV
184 CLASS="REFSECT1"
185 ><A
186 NAME="AEN56"
187 ></A
188 ><H2
189 >AUTHOR</H2
190 ><P
191 >        Internet Systems Consortium
192     </P
193 ></DIV
194 ></BODY
195 ></HTML
196 >