Disable internal DNS for zone sync
This commit is contained in:
parent
07dc95e911
commit
8fe42ead92
1 changed files with 6 additions and 1 deletions
|
|
@ -22,6 +22,10 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
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 = {
|
services.technitium-dns-server = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
|
|
@ -29,7 +33,8 @@ in
|
||||||
53
|
53
|
||||||
5380
|
5380
|
||||||
53443
|
53443
|
||||||
] ++ lib.optional cfg.dnsOverHttps 443;
|
]
|
||||||
|
++ lib.optional cfg.dnsOverHttps 443;
|
||||||
firewallUDPPorts = [
|
firewallUDPPorts = [
|
||||||
53
|
53
|
||||||
67
|
67
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue