aboutsummaryrefslogtreecommitdiff
path: root/modules/powerdns
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2025-07-30 16:53:40 +0200
committerMax Audron <audron@cocaine.farm>2025-07-30 16:53:40 +0200
commit80abf0577c962e8d5a71e586f020953f939d90c6 (patch)
treedac85c2a5d5d99cbb2fb61824924ddbe8a113042 /modules/powerdns
parentadd initial prometheus deployment (diff)
enable firewalls
Diffstat (limited to 'modules/powerdns')
-rw-r--r--modules/powerdns/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/powerdns/default.nix b/modules/powerdns/default.nix
index 1f411df..5a920ec 100644
--- a/modules/powerdns/default.nix
+++ b/modules/powerdns/default.nix
@@ -65,5 +65,7 @@ in
else secondary;
secretFile = "/etc/secrets/pdns_api.env";
};
+ networking.firewall.allowedTCPPorts = [ 53 ];
+ networking.firewall.allowedUDPPorts = [ 53 ];
};
}