Add bind9 to aratta
This commit is contained in:
parent
3ca6debf4d
commit
21a1a17941
|
@ -13,6 +13,7 @@
|
|||
|
||||
../../modules/server.nix
|
||||
../../modules/users.nix
|
||||
../../modules/bind.nix
|
||||
|
||||
../../users/root.nix
|
||||
../../users/hackerncoder.nix
|
||||
|
|
30
modules/bind.nix
Normal file
30
modules/bind.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.bind = {
|
||||
enable = true;
|
||||
|
||||
zones = {
|
||||
"encryptionin.space" = {
|
||||
name = "encryptionin.space";
|
||||
master = false;
|
||||
file = "db.encryptionin.space";
|
||||
masters = [ "92.51.163.43" ];
|
||||
# extraConfig = ''
|
||||
# dnssec-policy default;
|
||||
# inline-signing yes;
|
||||
# '';
|
||||
};
|
||||
"queerscriptors.org" = {
|
||||
name = "queerscriptors.org";
|
||||
master = false;
|
||||
file = "db.queerscriptors.org";
|
||||
masters = [ "92.51.163.43" ];
|
||||
# extraConfig = ''
|
||||
# dnssec-policy default;
|
||||
# inline-signing yes;
|
||||
# '';
|
||||
};
|
||||
};
|
||||
};
|
||||
networking.firewall.allowedUDPPorts = [ 53 ];
|
||||
}
|
Loading…
Reference in a new issue