Ken Johnson kenjreno
  • Joined on 2017-11-01

pdns-recursor (sha256:13edbed1b413c41835ebd037773a53ac7800e78e3e822ca4fee318b7cd6a4b62)

Published 2025-02-06 22:45:13 +00:00 by kenjreno

Installation

docker pull kjgr.net/kenjreno/pdns-recursor@sha256:13edbed1b413c41835ebd037773a53ac7800e78e3e822ca4fee318b7cd6a4b62
sha256:13edbed1b413c41835ebd037773a53ac7800e78e3e822ca4fee318b7cd6a4b62

Image Layers

LABEL maintainer=Clement Verna <cverna@fedoraproject.org>
ENV DISTTAG=f39container FGC=f39 FBR=f39
ADD fedora-39-aarch64.tar.xz / # buildkit
CMD ["/bin/bash"]
RUN /bin/sh -c arch=$([ "$(arch)" = 'aarch64' ] && echo -n 'arm64' || echo -n 'amd64') && echo 'install_weak_deps=False' >> /etc/dnf/dnf.conf && echo 'assumeyes=True' >> /etc/dnf/dnf.conf && sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/fedora-cisco-openh264.repo && dnf --refresh upgrade && dnf install pdns-recursor https://github.com/kha7iq/subvars/releases/download/v0.1.5/subvars_${arch}.rpm && dnf clean all # buildkit
RUN /bin/sh -c mkdir -p /etc/pdns-recursor/api.d /run/pdns-recursor && chown -R pdns-recursor: /etc/pdns-recursor /run/pdns-recursor # buildkit
COPY recursor.conf.tpl docker-entrypoint.sh / # buildkit
ENV VERSION=4.9 PDNS_setuid=pdns-recursor PDNS_setgid=pdns-recursor PDNS_daemon=no
EXPOSE map[53/tcp:{} 53/udp:{}]
HEALTHCHECK &{["CMD" "rec_control" "ping"] "10s" "10s" "2s" "0s" '\x03'}
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["/usr/sbin/pdns_recursor"]

Labels

Key Value
maintainer Clement Verna <cverna@fedoraproject.org>
Details
Container
2025-02-06 22:45:13 +00:00
0
OCI / Docker
linux/arm64
77 MiB
Versions (2) View all
alpine 2025-03-03
latest 2025-02-06