unbound-checkconf(8)¶
Synopsis¶
unbound-checkconf [-hf
] [-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¶
- /usr/local/etc/unbound/unbound.conf
Unbound configuration file.