Compare commits

...

1 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
4047493be1 fix(powerdns): use 'launch=' instead of 'launch+=' for gsqlite3 backend
PowerDNS 5.x requires a parent 'launch=' directive before any
incremental 'launch+=' can be used. Since the install script
comments out the default 'launch=' in pdns.conf, the 'launch+='
in gsqlite3.conf fails with:
  Fatal error: Incremental setting 'launch' without a parent

Use 'launch=gsqlite3' (non-incremental) since gsqlite3 is the
only backend needed.
2026-03-05 09:41:30 +01:00

View File

@@ -41,7 +41,7 @@ $STD apt install -y \
sed -i 's/^launch=$/# launch=/' /etc/powerdns/pdns.conf
rm -f /etc/powerdns/pdns.d/bind.conf
cat <<EOF >/etc/powerdns/pdns.d/gsqlite3.conf
launch+=gsqlite3
launch=gsqlite3
gsqlite3-database=/opt/poweradmin/powerdns.db
EOF
msg_ok "Setup PowerDNS"