Debian 11 - error in config file
Gregory Schouweiler
gregory.schouweiler at ggm11.lu
Mon Sep 20 09:39:59 UTC 2021
Thank you Jaap.
Gregory Schouweiler - IT Manager
GGM11 & Luxembourg Science Center
1, Rue John Ernest Dolibois
L-4573 Differdange
-----Original Message-----
From: Jaap Akkerhuis <jaap at NLnetLabs.nl>
Sent: 20 September 2021 11:07
To: Gregory Schouweiler <gregory.schouweiler at ggm11.lu>; Gregory Schouweiler via Unbound-users <unbound-users at lists.nlnetlabs.nl>
Subject: Re: Debian 11 - error in config file
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