2024-02-14 23:20:36 +01:00
2024-02-14 23:20:36 +01:00
2024-02-13 11:21:36 +01:00
2024-02-13 10:42:38 +01:00
2018-01-30 10:49:06 +01:00
2024-02-13 10:42:38 +01:00
2024-02-13 10:54:16 +01:00
2024-02-13 11:10:57 +01:00
2018-01-30 10:49:06 +01:00
2024-02-13 11:21:36 +01:00
2024-02-13 10:42:38 +01:00

Banner

🏔️ Alpine - BIND9

size version pulls activity commit-last stars

BIND9 DNS server

SYNOPSIS

What can I do with this? This image will run BIND9 DNS server precompiled for large installations and maximum performance.

VOLUMES

  • /bind/etc - Directory of named.conf
  • /bind/var - Directory of zone data

RUN

docker run --name bind \
  -v .../etc:/bind/etc \
  -v .../var:/bind/var \
  -d 11notes/bind:[tag]

EXAMPLES

config /bind/etc/named.conf

options {
  listen-on { any; };
  directory "/bind/etc";
  recursion no;
  allow-notify { none; };
  forwarders { 9.9.9.9; 9.9.9.10; };
  version "0.0";
  auth-nxdomain no;
  max-cache-size 0;
  dnssec-validation auto;
};

statistics-channels {
  inet 0.0.0.0 port 8053;
};

server ::/0 { bogus yes; };

DEFAULT SETTINGS

Parameter Value Description
user docker user docker
uid 1000 user id 1000
gid 1000 group id 1000
home /bind home directory of user docker

ENVIRONMENT

Parameter Value Default
TZ Time Zone
DEBUG Show debug information

PARENT IMAGE

BUILT WITH

TIPS

  • Only use rootless container runtime (podman, rootless docker)
  • Allow non-root ports < 1024 via echo "net.ipv4.ip_unprivileged_port_start=53" > /etc/sysctl.d/ports.conf
  • Use a reverse proxy like Traefik, Nginx to terminate TLS with a valid certificate
  • Use Lets Encrypt certificates to protect your SSL endpoints

ElevenNotes™️

This image is provided to you at your own risk. Always make backups before updating an image to a new version. Check the changelog for breaking changes.

Description
High performance bind with default operating modes
Readme GPL-3.0 173 KiB
Languages
Shell 58.1%
Dockerfile 41.9%