Update bind9vm/docker-compose.yml

Convert to using local BIND volumes rather than shared. The zone file is sync-ed automatically when the serial number is changed.
This commit is contained in:
2026-04-19 16:29:40 +01:00
parent b573668c64
commit b0419f0af1

View File

@@ -11,16 +11,7 @@ services:
- "53:53/tcp" - "53:53/tcp"
- "53:53/udp" - "53:53/udp"
volumes: volumes:
- config:/etc/bind - /docker/bind9/config:/etc/bind
- cache:/var/cache/bind - /docker/bind9/cache:/var/cache/bind
- records:/var/lib/bind - /docker/bind9/records:/var/lib/bind
restart: unless-stopped restart: unless-stopped
volumes:
cache:
records:
config:
driver_opts:
type: cifs
o: "username=john,password=mary1948"
device: "//192.168.1.7/BIND9/config" # share on VALHALLA