2016-09-27 23:11:07 +02:00
|
|
|
.TH "unbound-checkconf" "8" "Sep 27, 2016" "NLnet Labs" "unbound 1.5.10"
|
2012-07-04 16:24:26 +02:00
|
|
|
.\"
|
|
|
|
.\" unbound-checkconf.8 -- unbound configuration checker manual
|
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 2007, NLnet Labs. All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" See LICENSE for the license.
|
|
|
|
.\"
|
|
|
|
.\"
|
|
|
|
.SH "NAME"
|
|
|
|
unbound\-checkconf
|
|
|
|
\- Check unbound configuration file for errors.
|
|
|
|
.SH "SYNOPSIS"
|
|
|
|
.B unbound\-checkconf
|
|
|
|
.RB [ \-h ]
|
2015-04-26 13:23:26 +02:00
|
|
|
.RB [ \-f ]
|
2012-07-04 16:24:26 +02:00
|
|
|
.RB [ \-o
|
|
|
|
.IR option ]
|
|
|
|
.RI [ cfgfile ]
|
|
|
|
.SH "DESCRIPTION"
|
|
|
|
.B Unbound\-checkconf
|
|
|
|
checks the configuration file for the
|
|
|
|
\fIunbound\fR(8)
|
|
|
|
DNS resolver for syntax and other errors.
|
|
|
|
The config file syntax is described in
|
|
|
|
\fIunbound.conf\fR(5).
|
|
|
|
.P
|
|
|
|
The available options are:
|
|
|
|
.TP
|
|
|
|
.B \-h
|
|
|
|
Show the version and commandline option help.
|
|
|
|
.TP
|
2015-04-26 13:23:26 +02:00
|
|
|
.B \-f
|
2015-09-17 17:21:27 +02:00
|
|
|
Print full pathname, with chroot applied to it. Use with the \-o option.
|
2015-04-26 13:23:26 +02:00
|
|
|
.TP
|
2012-07-04 16:24:26 +02:00
|
|
|
.B \-o\fI option
|
|
|
|
If given, after checking the config file the value of this option is
|
|
|
|
printed to stdout. For "" (disabled) options an empty line is printed.
|
|
|
|
.TP
|
|
|
|
.I cfgfile
|
|
|
|
The config file to read with settings for unbound. It is checked.
|
|
|
|
If omitted, the config file at the default location is checked.
|
|
|
|
.SH "EXIT CODE"
|
|
|
|
The unbound\-checkconf program exits with status code 1 on error,
|
|
|
|
0 for a correct config file.
|
|
|
|
.SH "FILES"
|
|
|
|
.TP
|
|
|
|
.I @ub_conf_file@
|
|
|
|
unbound configuration file.
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
\fIunbound.conf\fR(5),
|
|
|
|
\fIunbound\fR(8).
|