nixos-config/config/services/named.nix

38 lines
786 B
Nix
Raw Normal View History

2022-01-14 19:56:02 +00:00
{ ... }: {
services.bind = {
enable = true;
zones = {
"darkkirb.de" = {
master = false;
masters = [
"fd00:e621:e621::1"
];
file = "darkkirb.de.zone";
};
"chir.rs" = {
master = false;
masters = [
"fd00:e621:e621::1"
];
file = "chir.rs.zone";
};
"int.chir.rs" = {
master = false;
masters = [
"fd00:e621:e621::1"
];
file = "int.chir.rs.zone";
};
"rpz.int.chir.rs" = {
master = false;
masters = [
"fd00:e621:e621::1"
];
file = "rpz.int.chir.rs.zone";
};
};
};
networking.firewall.allowedTCPPorts = [ 53 ];
networking.firewall.allowedUDPPorts = [ 53 ];
}