Giter Site home page Giter Site logo

therealhanlin / docker-bind9-alpine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mjkaye/docker-bind9-alpine

0.0 0.0 0.0 19 KB

Bind9 Docker image running on Alpine Linux

Home Page: https://hub.docker.com/r/cooldockerid/bind9-alpine

Dockerfile 100.00%

docker-bind9-alpine's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.