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>
26 lines
762 B
YAML
26 lines
762 B
YAML
# CoreDNS on rift — MCNS precursor.
|
|
#
|
|
# Serves the svc.mcp.metacircular.net and mcp.metacircular.net zones.
|
|
# Forwards everything else to 1.1.1.1 and 8.8.8.8.
|
|
#
|
|
# Usage:
|
|
# docker compose -f deploy/docker/docker-compose-rift.yml up -d
|
|
#
|
|
# To use as the network's DNS server, point clients or the router at
|
|
# rift's IP (192.168.88.181) on port 53.
|
|
|
|
services:
|
|
coredns:
|
|
image: coredns/coredns:1.12.1
|
|
container_name: mcns-coredns
|
|
restart: unless-stopped
|
|
command: -conf /etc/coredns/Corefile
|
|
ports:
|
|
- "192.168.88.181:53:53/udp"
|
|
- "192.168.88.181:53:53/tcp"
|
|
- "100.95.252.120:53:53/udp"
|
|
- "100.95.252.120:53:53/tcp"
|
|
volumes:
|
|
- ../../Corefile:/etc/coredns/Corefile:ro
|
|
- ../../zones:/etc/coredns/zones:ro
|