services:
  coredns:
    image: coredns/coredns:latest
    container_name: coredns
    command: -conf /etc/coredns/Corefile -dns.port 53
    ports:
      - "53:53"
      - "53:53/udp"
      - "8080:8080"
    volumes:
      - ./Corefile:/etc/coredns/Corefile
      - ./db.gj.zbx.local:/etc/coredns/db.gj.zbx.local
      - ./db.home-local.lab.hm:/etc/coredns/db.home-local.lab.hm