sameersbn/bind

version: "3.9"
services:
  sameersbn:
    image: sameersbn/bind:9.16.1-20200524
    restart: always 
    container_name: sameersbn
    ports:
      - "53:53/udp"
      - "53:53/tcp"
      - "10000:10000"
    volumes:
      - "./data:/data:rw" 
    environment:
      - TZ=Asia/Shanghai
      #- WEBMIN_ENABLED=false
      - WEBMIN_INIT_SSL_ENABLED=false
      - ROOT_PASSWORD=abcd12345
      - LANG=zh_CN.UTF-8

technitium

version: "3.9"
services:
  dns-server:
    image: technitium/dns-server:10.0.1
    restart: always 
    container_name: dns-server
    ports:
      - "53:53/udp"
      - "53:53/tcp"
      - "5380:5380"
    volumes:
      - "./config:/etc/dns/config:rw" 
    environment:
      - TZ=Asia/Shanghai
      - LANG=zh_CN.UTF-8

http://IP:5380/
1.设置新密码
2. zones选项下添加域名解析,用法和常用的域名管理一样