Public | Automated Build

Last pushed: 8 months ago
Short Description
Bind9 running on Debian Wheezy. Enjoy it and feedback possible. :)
Full Description

DNS server based BIND9 based Debian Jessie

Here has Dockerfile to build DNS server using BIND9 and Debian Jessie.
Do you can download and build yourself or you can download by Docker Hub.

Using

My Docker Hub repository build automatically BIND9 container using here as source. So, you can do download its and use.

Download

$docker.io pull fike/bind9

Running

Attention here, DNS servers use low port number (<1024) and you just run as root user.

#sudo docker run -d \
  --name bind9 \
  -p 53:53/udp \
  -p 53:53 \
  -v zones:/etc/bind9/zones \
  -v named.conf.local:/etc/bind9/named.conf.local \
  fike/bind9

Modifying

$docker run -i -t --net="container:bind9" --volumes-from bind9 dns.p.o.b /bin/bash

The default, this container doens't have a editor software. My favorite is the vim.

#apt-get install vim -y

The files that you need change are:

  • /etc/bind/named.conf.local
  • /etc/bind/zones/db.site.com
  • /etc/bind/zones.site.master
Docker Pull Command
Owner
fike
Source Repository

Comments (0)