[Pdns-users] powerdns recursor 5.1 doesn't support non-yaml syntax?

Otto Moerbeek otto at drijf.net
Fri Aug 30 08:46:26 UTC 2024


On Fri, Aug 30, 2024 at 10:16:22AM +0200, Otto Moerbeek via Pdns-users wrote:

> On Fri, Aug 30, 2024 at 09:33:17AM +0200, Prochazka via Pdns-users wrote:
> 
> > Hi,
> > 
> > i upgraded one of the 5.0.x recursor to 5.1.1 from pdns repo. We have
> > modifications in the /etc/powerdns/recursor.d/recursor-local.conf in the
> > non-yaml syntax. After upgrade i see /etc/recursor.conf include
> > /etc/powerdns/recursor.d/ but modifications are ignored. Why? I don't see
> > (or missed info) in the documentation about not supporting old syntax on
> > 5.1.x.
> > 
> > Please confirm.
> > 
> > Thanks
> > Prochazka
> 
> 5.1.1 accepts both YAML and old-style settings. It tries to read the
> the recursor.conf file as YAML, but if that fails falls back to old
> style.  Please share more details (exact config files and log), so we
> can diagnose what is going on.

Additional info: if the main recursor.conf file is YAML format, only
.yml included file are processed. Could that be happening here? 

Our packages do not overwrite existing .conf files, but will install
default .conf file in YAML format for new installs.

	-Otto


More information about the Pdns-users mailing list