nameservers/public: Open port 53

This commit is contained in:
SebastianStork 2026-03-02 00:08:01 +01:00
parent 6cb7a548ea
commit 399cbee22a
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q

View file

@ -73,6 +73,11 @@ in
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
networking.firewall = {
allowedTCPPorts = [ 53 ];
allowedUDPPorts = [ 53 ];
};
services.nsd = { services.nsd = {
enable = true; enable = true;
interfaces = [ netCfg.underlay.interface ]; interfaces = [ netCfg.underlay.interface ];