]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/unbound/doc/unbound-checkconf.8
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / unbound / doc / unbound-checkconf.8
1 .TH "unbound-checkconf" "8" "Mar 21, 2013" "NLnet Labs" "unbound 1.4.20"
2 .\"
3 .\" unbound-checkconf.8 -- unbound configuration checker manual
4 .\"
5 .\" Copyright (c) 2007, NLnet Labs. All rights reserved.
6 .\"
7 .\" See LICENSE for the license.
8 .\"
9 .\"
10 .SH "NAME"
11 .LP
12 unbound\-checkconf
13 \- Check unbound configuration file for errors.
14 .SH "SYNOPSIS"
15 .B unbound\-checkconf
16 .RB [ \-h ]
17 .RB [ \-o
18 .IR option ]
19 .RI [ cfgfile ]
20 .SH "DESCRIPTION"
21 .B Unbound\-checkconf
22 checks the configuration file for the
23 \fIunbound\fR(8)
24 DNS resolver for syntax and other errors. 
25 The config file syntax is described in 
26 \fIunbound.conf\fR(5).
27 .P
28 The available options are:
29 .TP
30 .B \-h
31 Show the version and commandline option help.
32 .TP
33 .B \-o\fI option
34 If given, after checking the config file the value of this option is 
35 printed to stdout.  For "" (disabled) options an empty line is printed.
36 .TP
37 .I cfgfile
38 The config file to read with settings for unbound. It is checked.
39 If omitted, the config file at the default location is checked.
40 .SH "EXIT CODE"
41 The unbound\-checkconf program exits with status code 1 on error, 
42 0 for a correct config file.
43 .SH "FILES"
44 .TP
45 .I /var/unbound/unbound.conf
46 unbound configuration file.
47 .SH "SEE ALSO"
48 \fIunbound.conf\fR(5), 
49 \fIunbound\fR(8).