mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 22:29:06 +01:00
nameservers/public: Open port 53
This commit is contained in:
parent
6cb7a548ea
commit
399cbee22a
1 changed files with 5 additions and 0 deletions
|
|
@ -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 ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue