From 5af3f050dd34c537a30f34e123c9ec16f7e79d3d Mon Sep 17 00:00:00 2001 From: Olli Graf Date: Mon, 22 Jun 2026 08:36:38 +0200 Subject: [PATCH] =?UTF-8?q?docker-compose.yml=20f=C3=BCr=20Technitium?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- technitium/docker-compose.yml | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 technitium/docker-compose.yml diff --git a/technitium/docker-compose.yml b/technitium/docker-compose.yml new file mode 100644 index 0000000..852308a --- /dev/null +++ b/technitium/docker-compose.yml @@ -0,0 +1,37 @@ +services: + dns-server: + container_name: dns-server + hostname: dns-server + image: technitium/dns-server:latest + + ports: + - "5380:5380/tcp" # Web console (HTTP) + - "53:53/udp" # DNS service + - "53:53/tcp" # DNS service + - "53443:53443/tcp" # Web console (HTTPS) + + #optionale Ports, Kommentar entfernen, falls notwendig. + # - "853:853/udp" # DNS-over-QUIC + # - "853:853/tcp" # DNS-over-TLS + # - "443:443/udp" # DNS-over-HTTPS (HTTP/3) + # - "443:443/tcp" # DNS-over-HTTPS (HTTP/1.1, HTTP/2) + # - "67:67/udp" # DHCP service + + environment: + - DNS_SERVER_DOMAIN=dns-server + - DNS_SERVER_ADMIN_PASSWORD= + - DNS_SERVER_PREFER_IPV6=false + - DNS_SERVER_RECURSION=AllowOnlyForPrivateNetworks + - DNS_SERVER_FORWARDERS=192.168.178.1 + + volumes: + - /opt/technitium:/etc/dns + + restart: unless-stopped + + sysctls: + - net.ipv4.ip_local_port_range=1024 65000 + +volumes: + config: +