Debian 11 - error in config file

Jaap Akkerhuis jaap at NLnetLabs.nl
Mon Sep 20 09:06:52 UTC 2021


 Gregory Schouweiler via Unbound-users writes:

 >
 > Is there a bug with Debian 11?
 > I use the same configuration as on debian 10.9 but unbound doesn't want to =
 > load the configuration file.
 >
 > Under debian 10.9, unbound is in version 1.9.x
 >
 > Under Debian 11, unbound is in version 1.13.1
 >
 > My config files :
 >
 > root at maxwell:/etc/unbound# cat unbound.conf
 > # Unbound configuration file for Debian.
 > #
 > # See the unbound.conf(5) man page.
 > #
 > # See /usr/share/doc/unbound/examples/unbound.conf for a commented
 > # reference config file.
 > #
 > # The following line includes additional configuration files from the
 > # /etc/unbound/unbound.conf.d directory.
 > include-toplevel: "/etc/unbound/unbound.conf.d/*.conf"
 > root at maxwell:/etc/unbound# cd unbound.conf.d/
 > root at maxwell:/etc/unbound/unbound.conf.d#<mailto:root at maxwell:/etc/unbound/=
 > unbound.conf.d#> cat default.conf
 > interface: 0.0.0.0
 > access-control: 172.16.0.0/21 allow
 > access-control: 127.0.0.0/8 allow
 > root at maxwell:/etc/unbound/unbound.conf.d#<mailto:root at maxwell:/etc/unbound/=
 > unbound.conf.d#> unbound-checkconf
 > /etc/unbound/unbound.conf.d/default.conf:1: error: syntax error
 > read /etc/unbound/unbound.conf failed: 1 errors in configuration file
 >

Given these config files, it seems that the "server:" clause is missing.

	jap


More information about the Unbound-users mailing list