]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/unbound/doc/unbound-checkconf.8.in
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / unbound / doc / unbound-checkconf.8.in
1 .TH "unbound-checkconf" "8" "Mar 10, 2015" "NLnet Labs" "unbound 1.5.3"
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 unbound\-checkconf
12 \- Check unbound configuration file for errors.
13 .SH "SYNOPSIS"
14 .B unbound\-checkconf
15 .RB [ \-h ]
16 .RB [ \-f ]
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 \-f
34 Print full pathname, with chroot applied to it.  Use with the -o option.
35 .TP
36 .B \-o\fI option
37 If given, after checking the config file the value of this option is 
38 printed to stdout.  For "" (disabled) options an empty line is printed.
39 .TP
40 .I cfgfile
41 The config file to read with settings for unbound. It is checked.
42 If omitted, the config file at the default location is checked.
43 .SH "EXIT CODE"
44 The unbound\-checkconf program exits with status code 1 on error, 
45 0 for a correct config file.
46 .SH "FILES"
47 .TP
48 .I @ub_conf_file@
49 unbound configuration file.
50 .SH "SEE ALSO"
51 \fIunbound.conf\fR(5), 
52 \fIunbound\fR(8).