Bind CoreDNS to external IPs to avoid systemd-resolved conflict

Port 53 on loopback is used by systemd-resolved on rift. Bind to
192.168.88.181 (LAN) and 100.95.252.120 (Tailscale) specifically.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-25 19:13:39 -07:00
parent 2567d8ab48
commit 0eb0f33cd7

View File

@@ -16,8 +16,10 @@ services:
restart: unless-stopped restart: unless-stopped
command: -conf /etc/coredns/Corefile command: -conf /etc/coredns/Corefile
ports: ports:
- "53:53/udp" - "192.168.88.181:53:53/udp"
- "53:53/tcp" - "192.168.88.181:53:53/tcp"
- "100.95.252.120:53:53/udp"
- "100.95.252.120:53:53/tcp"
volumes: volumes:
- ../../Corefile:/etc/coredns/Corefile:ro - ../../Corefile:/etc/coredns/Corefile:ro
- ../../zones:/etc/coredns/zones:ro - ../../zones:/etc/coredns/zones:ro