bind9
轻量级容器DNS服务部署方案
安装
docker-compose.yaml
注意修改 IP 192.168.65.129 为自己本地的 IP 地址
version: "3"
services:
bind:
image: pwa666/bind9:v1.3.84
volumes:
- "/data/bind:/etc/bind"
restart: always
environment:
TZ: "Asia/Shanghai"
GUI_USER : "admin"
GUI_PASSWORD: "admin"
ports:
- "192.168.65.129:53:53/udp" #dns service
- "192.168.65.129:53:53/tcp" #dns service
- "10000:10000/tcp" #webmin http
docker-compose up
- 使用 webmin,访问 http://192.168.65.129:10000,用户名密码:admin/admin