Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1841364
Dockerfile
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
862 B
Referenced Files
None
Subscribers
None
Dockerfile
View Options
FROM fedora:35
ENV container docker
ENV SYSTEMD_PAGER=''
RUN dnf -y install \
--setopt 'tsflags=nodocs' \
bind-utils \
iproute \
iptables \
iputils \
net-tools \
pdns \
pdns-backend-mysql \
pdns-recursor \
pdns-tools \
procps-ng \
vim-enhanced \
wget \
which && \
dnf clean all
COPY pdns.conf /etc/pdns/pdns.conf
COPY recursor.conf /etc/pdns-recursor/recursor.conf
RUN systemctl disable systemd-resolved && systemctl enable pdns && systemctl enable pdns-recursor
# This is how we could run pdns without systemd
# ENV PDNS_guardian=yes \
# PDNS_setuid=pdns \
# PDNS_setgid=pdns \
# PDNS_launch=gmysql
# CMD ["/usr/sbin/pdns_server", "--guardian=no", "--daemon=no", "--disable-syslog", "--log-timestamp=no", "--write-pid=no"]
CMD ["/lib/systemd/systemd", "--system"]
EXPOSE 53 53/udp
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 25, 3:03 PM (22 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
257672
Default Alt Text
Dockerfile (862 B)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment