Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 64c1ea18e0 | |||
| 1a866719ea | |||
| a0125116cd |
+15
-11
@@ -80,17 +80,21 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ config.services.bind.listenOnPort ];
|
||||
networking.firewall.allowedUDPPorts = [ config.services.bind.listenOnPort ];
|
||||
environment.persistence."/persist".directories = [
|
||||
{
|
||||
directory = "/var/dns";
|
||||
group = "named";
|
||||
user = "named";
|
||||
}
|
||||
];
|
||||
|
||||
environment.persistence."/persist" = {
|
||||
directories = [
|
||||
{
|
||||
directory = "/var/dns";
|
||||
group = "named";
|
||||
user = "named";
|
||||
}
|
||||
];
|
||||
};
|
||||
networking.firewall =
|
||||
let
|
||||
ports = [ config.services.bind.listenOnPort ];
|
||||
in
|
||||
{
|
||||
allowedTCPPorts = ports;
|
||||
allowedUDPPorts = ports;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user