Skip to content

mjkaye/docker-bind9-alpine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mjkaye's logo

BIND 9 running on Alpine Linux

Build Status

BIND version Alpine version Github repository Docker pulls

What is BIND?

BIND9 logo

BIND (also called "named") is the first, oldest, and most widely deployed DNS solution. It's the de facto standard on Unix-like operating systems. It is currently developed by the Internet Software Consortium.

What is Alpine Linux?

Alpine Linux logo

Alpine Linux is built around musl libc and busybox. This makes it smaller and more resource efficient, the base image only being 5MiB in size. It's a perfect fit for the Docker ecosystem.

Supported architectures

Architecture Tag
amd64/x86_64 latest-amd64
arm32v7/armhf latest-arm
aarch64/arm64 latest-arm64

How to use this image:

docker run -d \
  --name bind9 \
  -p 53:53 \
  -p 53:53/udp \
  -v /path/to/named.conf:/etc/bind/named.conf \
  -v /path/to/example.com.zone:/var/bind/pri/example.com.zone \
  mjkaye/bind9-alpine

Parameters

Container images are configured using parameters passed at run-time (such as those above). These parameters are separated by a colon and indicate <host>:<container> respectively. For example, -p 8053:53 would expose TCP port 53 from inside the container to be accessible from the host's IP on port 8053. Similarly, when mapping volumes with the -v option, host paths to left of the colon are mapped to the container paths to the right of the colon.

Parameter Function
-p 53:53 container's BIND will listen on host's TCP port 53
-p 53:53/udp container's BIND will listen on host's UDP port 53
-v :/etc/bind/named.conf maps BIND configuration file to specified path on the host
-v :/var/bind/pri/example.com.zone maps zone file between container and host (optional)

named.conf

The following directives should be set in your named.conf.

Directive and value Notes
directory "/var/bind";
pid-file "/var/run/named/named.pid";
listen-on { 172.17/16; }; if you're running in normal mode
listen-on { 10/8; }; if you're running in swarm mode

Zone files should be included in the normal manner.

Support

Changelog

  • 9.14.12-r0: - Alpine release 3.12.0; bump BIND version to 9.14.12-r0.
  • 9.14.8-r5: - Alpine release 3.11.6; bump BIND version to 9.14.8-r5; support architectures arm32v7, aarch64, and amd64; use --no-cache with apk add.

Thank you

Thank you for using bind9-alpine.

Do you like this Docker image? Donations help me to devote more time to improving these images. My current focus is testing this in Swarm Mode and improving the documentation. Even the smallest donation is a big help.

Donate using Donorbox


Donate using Bitcoin

bc1q2acfmcwrqc9pzttqgwn6nd0t5cncleue6ukfrs


Donate using Ethereum

0x95ab6d374ef0d3a84bb7c767cdf6c77b3b170ba2


Donate using Dash

XxVEjb1uYFnBGLm59eytUHBDWAYTHeyrET


Donate using Monero

49couTFdiXHhmodRY49DSt4uwLb5SK9d8QXoUQh6TmMgAmNhWVjtXzri1Qq2AWzTVxaYqbhbthXi1R7hKxM4cTvSFKrFcv1


Donate using Groestlcoin

grs1q4gu2xfg8q448tlajg8grqkrlw9rjvuz29vctmj


Donate using NANO

nano_1ro9tk49hje9f31r6x869z18rgbiertsc1jgw6siqb6c9cziywk1u4zq766z


Donate using TRON

TTna1P4yTLueZAunmxAu4p4qYZGQ28VTYE


About

Bind9 Docker image running on Alpine Linux

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages

  • Dockerfile 100.0%