]>
Commit | Line | Data |
---|---|---|
89c4ed63 A |
1 | .TH "unbound-checkconf" "8" "Dec 8, 2014" "NLnet Labs" "unbound 1.5.1" |
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 [ \-o | |
17 | .IR option ] | |
18 | .RI [ cfgfile ] | |
19 | .SH "DESCRIPTION" | |
20 | .B Unbound\-checkconf | |
21 | checks the configuration file for the | |
22 | \fIunbound\fR(8) | |
23 | DNS resolver for syntax and other errors. | |
24 | The config file syntax is described in | |
25 | \fIunbound.conf\fR(5). | |
26 | .P | |
27 | The available options are: | |
28 | .TP | |
29 | .B \-h | |
30 | Show the version and commandline option help. | |
31 | .TP | |
32 | .B \-o\fI option | |
33 | If given, after checking the config file the value of this option is | |
34 | printed to stdout. For "" (disabled) options an empty line is printed. | |
35 | .TP | |
36 | .I cfgfile | |
37 | The config file to read with settings for unbound. It is checked. | |
38 | If omitted, the config file at the default location is checked. | |
39 | .SH "EXIT CODE" | |
40 | The unbound\-checkconf program exits with status code 1 on error, | |
41 | 0 for a correct config file. | |
42 | .SH "FILES" | |
43 | .TP | |
44 | .I @ub_conf_file@ | |
45 | unbound configuration file. | |
46 | .SH "SEE ALSO" | |
47 | \fIunbound.conf\fR(5), | |
48 | \fIunbound\fR(8). |