Sign inSign up

mjkaye/bind9-alpine

By mjkaye

•Updated over 6 years ago

Bind9 running on Alpine Linux [amd64/armhf/aarch64]

Image
4

100K+

mjkaye/bind9-alpine repository overview

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

ArchitectureTag
amd64/x86_64latest-amd64
arm32v7/armhflatest-arm
aarch64/arm64latest-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.

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

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

Directive and valueNotes
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


Tag summary

Content type

Image

Digest

Size

16.8 MB

Last updated

over 6 years ago

docker pull mjkaye/bind9-alpine