Commit ba051070 authored by kaiyou's avatar kaiyou

Remove unused dns2

parent 8f5cd3a3
version: '2.1'
services:
dns:
image: docker.tedomum.net/tedomum/docker-pdns:master
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:${hostname}
- traefik.port=8081
- traefik.frontend.headers.STSSeconds=315360000
- traefik.frontend.headers.frameDeny=true
- traefik.frontend.headers.browserXSSFilter=true
- traefik.frontend.headers.customResponseHeaders=Server:www||X-Powered-By:www
volumes:
- ./data:/zones
ports:
- "${ipv4}:53:53/udp"
- "${ipv6}:53:53/udp"
- "${ipv4}:53:53"
- "${ipv6}:53:53"
command: |
--launch=bind
--bind-config=/zones/named.conf
--bind-supermasters=/zones/sm.conf
--bind-supermaster-config=/zones/zones.conf
--bind-supermaster-destdir=/zones
--bind-dnssec-db=/zones/dnssec/dnssec.db
--local-ipv6=::
--allow-axfr-ips=::1
--webserver-address=0.0.0.0
--api=yes
--api-key=testtesttest
--default-soa-name=${hostname}.
--default-soa-mail=${mail}.
networks:
default:
enable_ipv6: true
driver: bridge
labels:
- snat4=${ipv4}
- snat6=${ipv6}
ipam:
driver: default
config:
- subnet: "${prefix}/64"
gateway: "${prefix}1"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment