rift: allow port 53 for CoreDNS, vade: use rift as DNS
rift: sysctl to allow rootless containers to bind port 53, open firewall for DNS queries from LAN clients. vade: point nameservers at rift (LAN + Tailscale) for internal service resolution via CoreDNS (MCNS precursor). Falls back to 1.1.1.1/8.8.8.8 via systemd-resolved. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -7,5 +7,11 @@
|
||||
];
|
||||
|
||||
config = {
|
||||
# Allow rootless containers (Podman) to bind port 53 for CoreDNS (MCNS precursor).
|
||||
boot.kernel.sysctl."net.ipv4.ip_unprivileged_port_start" = 53;
|
||||
|
||||
# Open DNS port for LAN clients querying CoreDNS.
|
||||
networking.firewall.allowedTCPPorts = [ 53 ];
|
||||
networking.firewall.allowedUDPPorts = [ 53 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user