pdns-recursor (sha256:8c25576b24f6e18b09faf2c290a0e95cfcee1312ac94a83c16eb6586bfbd5176)

Published 2024-08-16 22:08:35 +00:00 by kenjreno

Installation

docker pull kjgr.io/kenjreno/pdns-recursor@sha256:8c25576b24f6e18b09faf2c290a0e95cfcee1312ac94a83c16eb6586bfbd5176
sha256:8c25576b24f6e18b09faf2c290a0e95cfcee1312ac94a83c16eb6586bfbd5176

Image Layers

ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in /
CMD ["/bin/sh"]
RUN /bin/sh -c arch=$([ "$(arch)" = 'aarch64' ] && echo -n 'arm64' || echo -n 'amd64') && apk update && apk upgrade && apk add pdns-recursor && wget -O subvars.apk https://github.com/kha7iq/subvars/releases/download/v0.1.5/subvars_${arch}.apk && apk add --allow-untrusted subvars.apk && rm -rf subvars.apk /var/cache/apk/* # buildkit
RUN /bin/sh -c mkdir -p /etc/pdns/api.d /var/run/pdns-recursor && chown -R recursor: /etc/pdns /var/run/pdns-recursor # buildkit
COPY recursor.conf.tpl docker-entrypoint.sh / # buildkit
ENV VERSION=4.9 PDNS_setuid=recursor PDNS_setgid=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"]
Details
Container
2024-08-16 22:08:35 +00:00
0
OCI / Docker
linux/amd64
14 MiB
Versions (2) View all
latest 2024-08-16
alpine 2024-08-16