Files
11note-docker-bind/README.md
2023-09-19 10:14:16 +02:00

889 B

Alpine :: Bind (DNS)

Run Bind (DNS) based on Alpine Linux. Small, lightweight, secure and fast 🏔️

Volumes

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

Run

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

Update root db (will update on start if does not exist)

docker exec bind rootdb

Defaults

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

Parent

Built with

Tips

  • Don't bind to ports < 1024 (requires root), use NAT/reverse proxy