Re: FreeBSD Recursor 5.0.7 -> 5.1.1 upgrade warning (ships new empty yml config)

Christoph via Pdns-users <[email protected]> Sat, 3 Aug 2024 01:33:42 +0200
Newsgroups gmane.network.dns.powerdns.user
Message-ID <[email protected]>
fair warning if you are upgrading Recursor on FreeBSD via pkg upgrade: 
5.0.7 -> 5.1.1

The FreeBSD powerdns-recursor package ships a default recursor.yml 
config file but does not convert the recursor.conf to recursor.yml

In our case this resulted in a broken recursor service because it tried 
to bind to a port that was not available.

The solution was to generate the yml file by converting the old config:

rec_control show-yaml path/to/recursor.conf > path/to/recursor.yml
mv recursor.conf recursor.conf.obsolete

https://docs.powerdns.com/recursor/appendices/yamlconversion.html

-- 
best regards,
Christoph