Public | Automated Build

Last pushed: a year ago
Short Description
BIND base installation including tools for DNSSEC workshop
Full Description

This docker base image is used for further container by a DNSSEC workshop:

This container runs a SSHd and named for easy testing DNSSEC.
It also ships some useful tools to check the DNS setup.

How to use it directly

docker pull dape16/dnssec-bind
docker run --detach --dns= \
  --hostname=$CID --name=$CID dape16/dnssec-bind

How to reuse it in your project

FROM dape16/dnssec-bind

EXPOSE  22 53
CMD     [ "/usr/bin/supervisord", "-c", \
          "/etc/supervisor/conf.d/dnssec-bind.conf" ]

Optional securing the VM

# Reconfigure sshd
RUN     rm /etc/ssh/ssh_host_*
RUN     ssh-keygen -A
RUN     chmod 600 /etc/ssh/ssh_host_*

# Set login data
RUN     echo 'root:root' | chpasswd

# Generate a new rndc key for BIND
RUN     rndc-confgen | \
          awk '/^key "rndc-key"/,/^};/ {print}' \
          > /etc/bind/rndc.key

# Startup services
EXPOSE  22 53
CMD     [ "/usr/bin/supervisord", "-c", \
          "/etc/supervisor/conf.d/dnssec-bind.conf" ]

/ vim: set syntax=markdown tabstop=2 expandtab: /

Docker Pull Command
Source Repository

Comments (0)