xref: /freebsd/contrib/unbound/doc/unbound-checkconf.8 (revision a812392203d7c4c3f0db9d8a0f3391374c49c71f)
"unbound-checkconf" "8" "Dec 8, 2014" "NLnet Labs" "unbound 1.5.1"

unbound-checkconf.8 -- unbound configuration checker manual

Copyright (c) 2007, NLnet Labs. All rights reserved.

See LICENSE for the license.


"NAME"
unbound-checkconf - Check unbound configuration file for errors.
"SYNOPSIS"
unbound-checkconf [ -h ] [ -o option ] [ cfgfile ]
"DESCRIPTION"
Unbound-checkconf checks the configuration file for the unbound(8) DNS resolver for syntax and other errors. The config file syntax is described in unbound.conf(5).

The available options are:

-h Show the version and commandline option help.

-o 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.

cfgfile The config file to read with settings for unbound. It is checked. If omitted, the config file at the default location is checked.

"EXIT CODE"
The unbound-checkconf program exits with status code 1 on error, 0 for a correct config file.
"FILES"

/var/unbound/unbound.conf unbound configuration file.

"SEE ALSO"
unbound.conf(5), unbound(8).