[Pdns-users] Buiding powerdns container images with podman

Peter van Dijk peter.van.dijk at powerdns.com
Thu Mar 4 10:35:45 UTC 2021


On Wed, 2021-03-03 at 19:21 +0100, Cheikh Dieng via Pdns-users wrote:
> Hello Peter,
> Thanks for you response.
> For the 1rs Question: I split it in many step.
> I have to install to powerdns with ldap backend (plugin). What are the options during the images podman built processus to configure this backend ?

I recommend not doing it during build.

You have several options:
(1) once it is built, make a second image, starting with FROM powerdns-
auth, and add your config there
(2) mount your config into /etc/powerdns in the runtime container
(3) learn about the (undocumented) templating in the startup script

> For the 2nd question:
> I'm using :
> commit c923c0f7e1b0dd7e00f1f8c736c9b376910241c0 (HEAD -> master, origin/master, origin/HEAD)
> Merge: b472d9c1d 67b02e399
> Author: Otto Moerbeek <otto.moerbeek at open-xchange.com>
> Date:   Wed Feb 24 17:39:20 2021 +0100
>     Merge pull request #10111 from omoerbeek/rec-drop-from-lua
>     rec: Handle policy (if needed) after postresolve and document the hooks better

This commit also builds for me without problems. Did you change

Kind regards,
Peter van Dijk
PowerDNS.COM BV - https://www.powerdns.com/

More information about the Pdns-users mailing list