Files
komodo/stacks/technitium_syn01.compose.yml
Komodo Bot 92c05cfee9 Switch Technitium DNS servers to host networking
- Remove bridge network port mappings
- Add network_mode: host for both dns01 and dns02
- Enables proper cluster communication and NOTIFY messages
- Fixes 'Unreachable' cluster status between nodes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-19 09:16:30 -08:00

26 lines
819 B
YAML

services:
technitium:
image: technitium/dns-server:latest
container_name: dns01
hostname: dns01
mem_limit: 2g
cpu_shares: 768
security_opt:
- no-new-privileges:true
network_mode: host
volumes:
- /volume1/docker/technitium/config:/etc/dns:rw
environment:
- DNS_SERVER_DOMAIN=dns01.dns-cluster.internal
- DNS_SERVER_ADMIN_PASSWORD=admin
- DNS_SERVER_WEB_SERVICE_ENABLE_HTTPS=true
- DNS_SERVER_WEB_SERVICE_HTTPS_PORT=53443
- DNS_SERVER_WEB_SERVICE_USE_SELF_SIGNED_CERT=true
- DNS_SERVER_FORWARDERS=https://dns10.quad9.net/dns-query
- DNS_SERVER_FORWARDER_PROTOCOL=Https
- DNS_SERVER_ENABLE_BLOCKING=true
- TZ=America/Los_Angeles
sysctls:
- net.ipv4.ip_local_port_range=1024 65535
restart: unless-stopped