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>
This commit is contained in:
@@ -7,20 +7,7 @@ services:
|
|||||||
cpu_shares: 768
|
cpu_shares: 768
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
ports:
|
network_mode: host
|
||||||
- "53:53/udp"
|
|
||||||
- "53:53/tcp"
|
|
||||||
- "5380:5380/tcp" # HTTP console
|
|
||||||
- "53443:53443/tcp" # HTTPS console
|
|
||||||
# DNS over TLS, HTTPS, QUIC
|
|
||||||
# - "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
|
|
||||||
# - "80:80/tcp" # DNS-over-HTTP
|
|
||||||
# - "8053:8053/tcp" # DNS-over-HTTPS (alt port)
|
|
||||||
# DHCP
|
|
||||||
# - "67:67/udp" # DHCP
|
|
||||||
volumes:
|
volumes:
|
||||||
- /volume1/docker/technitium/config:/etc/dns:rw
|
- /volume1/docker/technitium/config:/etc/dns:rw
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@@ -7,20 +7,7 @@ services:
|
|||||||
cpu_shares: 768
|
cpu_shares: 768
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
ports:
|
network_mode: host
|
||||||
- "53:53/udp"
|
|
||||||
- "53:53/tcp"
|
|
||||||
- "5380:5380/tcp" # HTTP console
|
|
||||||
- "53443:53443/tcp" # HTTPS console
|
|
||||||
# DNS over TLS, HTTPS, QUIC
|
|
||||||
# - "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
|
|
||||||
# - "80:80/tcp" # DNS-over-HTTP
|
|
||||||
# - "8053:8053/tcp" # DNS-over-HTTPS (alt port)
|
|
||||||
# DHCP
|
|
||||||
# - "67:67/udp" # DHCP
|
|
||||||
volumes:
|
volumes:
|
||||||
- /volume2/docker/technitium/config:/etc/dns:rw
|
- /volume2/docker/technitium/config:/etc/dns:rw
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user