Sign inSign up

b69ca/bind9

By b69ca

•Updated over 9 years ago

A Simple Vanilla BIND9 Server With Custom Zone Files Option

Image
0

1.0K

b69ca/bind9 repository overview

This image is a basic and vanilla BIND9 server based upon the Ubuntu image.

⁠Running The Image

To run the image and enable access to it, you need to map a port:

docker run -it -p 53:53 -p 53:53/udp b69ca/bind9

This command maps port 53 for both UDP and TCP

⁠Custom Zones

In order to have custom zones, you first need to map a virtual folder. The server attempts to load a file called "myzones.conf" from /data so in order to make use of this, you need to map a data folder to the container such as in the following way:

docker run -it -p 53:53 -p 53:53/udp -v path_to_local_store:/data b69ca/bind9

The server will create the myzones.conf file upon starting

The myzones.conf file should contain the custom zones, and point to their configuration file, such as in the example below:

zone "b69ca.com" in {
  type master;
  file "b69ca.com.zonefile";
};

You would then create a new file with the name referenced (e.g. b69ca.com.zonefile) which contains your zone information.

⁠TAG Information

20170327 - Initial build.

Tag summary

Content type

Image

Digest

Size

128.6 MB

Last updated

over 9 years ago

docker pull b69ca/bind9