Sign inSign up

busybox42/bind-docker-centos

By busybox42

Updated about 7 years ago

This is a bind server running on CentOS 7.

Image
1

10K+

busybox42/bind-docker-centos repository overview

bind-docker-centos

This repository contains a centos bind server.

Downloading the image

The first step is to pull the image.

docker pull busybox42/bind-docker-centos

Creating the container

Now that we have the image busybox42/bind-docker-centos we can create the container with a few parameters.

docker run --name bind -p 53:53/udp -h ns.myhostname.tld busybox42/bind-docker-centos

Name the container, expose udp port 53 for DNS and set a hostname.

Configuring your server

Modify /etc/named.conf and add your zones files in /var/named/. You can connect to the container with this command:

docker exec -it bind bash

Make sure you test your bind configuration before restarting the container.

named-checkconf /etc/named.conf

If there is no output, the configuration is considered correct and you can safely restart or reload bind configuration file.

Tag summary

Content type

Image

Digest

Size

119.9 MB

Last updated

about 7 years ago

docker pull busybox42/bind-docker-centos