1unbound-checkconf(8)            unbound 1.17.1            unbound-checkconf(8)
2
3
4

NAME

6       unbound-checkconf - Check Unbound configuration file for errors.
7

SYNOPSIS

9       unbound-checkconf [-h] [-f] [-o option] [cfgfile]
10

DESCRIPTION

12       Unbound-checkconf  checks the configuration file for the unbound(8) DNS
13       resolver for syntax and other errors.  The config file  syntax  is  de‐
14       scribed 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  op‐
25              tion  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

EXIT CODE

34       The unbound-checkconf program exits with status code 1 on error, 0  for
35       a correct config file.
36

FILES

38       /etc/unbound/unbound.conf
39              Unbound configuration file.
40

SEE ALSO

42       unbound.conf(5), unbound(8).
43
44
45
46NLnet Labs                       Jan 12, 2023             unbound-checkconf(8)
Impressum