[Pdns-users] successful installation of recursor 5.2 on non-systemd

Curtis Maurand curtis at maurand.com
Thu Apr 10 13:16:56 UTC 2025


Hello,
I have successfully installed pdns-recursor on a non-systemd equipped 
system. I know that powerdns has dropped support for systems that don't 
run systemd, but I wanted to get this on record for others that like 
powerdns, but don't use systemd.

By default the new version runs pdns_recursor in the foreground relying 
on systemd's logging feature. This is bad because it now relies on how 
well systemd multitasks and systemd doesn't do it that well.  systemd 
makes linux run like windows. If I wanted a system that runs like 
Windows, I'd just run Windows. Systemd does not respect eh Unix/Linux 
philosophy of "do one thing and do it well."

I am running Devuan Daedalus (debian bookworm without systemd). I 
imagine that using runit or s6 would work well because they run things 
in the foreground as well, but I'm using sysv.

steps

1. make sure you have copy of /etc/init.d/pdns-recursor stored somewhere 
other than /etc/init.d as the pdns-recursor installation will wipe it out.

2. set up the powerdns bookworm repository on your system per the debian 
bookworm instructions.

3. Install the new pdns-recursor choosing to install the new yaml 
configuration.

4. rename /etc/default/pdns-recursor.dpkg.bak to /etc/default/pdns.

5. copy your backed up pdns-recursor init.d script back to /etc/init.d.

6. service pdns-recursor start

Make changes to the /etc/powerdns/recursor.conf as needed per the new 
yaml syntax.

Thinks will work normally.

Thanks for your attention. I hope this helps someone.

--Curtis



More information about the Pdns-users mailing list