Disable internal DNS for zone sync

This commit is contained in:
pazpi 2025-08-17 17:38:32 +02:00
parent 07dc95e911
commit 8fe42ead92

View file

@ -22,6 +22,10 @@ in
};
config = lib.mkIf cfg.enable {
# Disable internal DNS otherwise TCP .:53 is already in use. Breaks zone sync
services.resolved.enable = false;
services.technitium-dns-server = {
enable = true;
openFirewall = true;
@ -29,7 +33,8 @@ in
53
5380
53443
] ++ lib.optional cfg.dnsOverHttps 443;
]
++ lib.optional cfg.dnsOverHttps 443;
firewallUDPPorts = [
53
67