This is a bind server running on CentOS 7.
10K+
This repository contains a centos bind server.
The first step is to pull the image.
docker pull busybox42/bind-docker-centos
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.
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.
Content type
Image
Digest
Size
119.9 MB
Last updated
about 7 years ago
docker pull busybox42/bind-docker-centos