1unbound-checkconf(8) unbound 1.13.1 unbound-checkconf(8)
2
3
4
6 unbound-checkconf - Check unbound configuration file for errors.
7
9 unbound-checkconf [-h] [-f] [-o option] [cfgfile]
10
12 Unbound-checkconf checks the configuration file for the unbound(8) DNS
13 resolver for syntax and other errors. The config file syntax is
14 described in unbound.conf(5).
15
16 The available options are:
17
18 -h Show the version and commandline option help.
19
20 -f Print full pathname, with chroot applied to it. Use with the -o
21 option.
22
23 -o option
24 If given, after checking the config file the value of this
25 option is printed to stdout. For "" (disabled) options an empty
26 line is printed.
27
28 cfgfile
29 The config file to read with settings for unbound. It is
30 checked. If omitted, the config file at the default location is
31 checked.
32
34 The unbound-checkconf program exits with status code 1 on error, 0 for
35 a correct config file.
36
38 /etc/unbound/unbound.conf
39 unbound configuration file.
40
42 unbound.conf(5), unbound(8).
43
44
45
46NLnet Labs Feb 9, 2021 unbound-checkconf(8)