dns: added csn.ul.ie

This commit is contained in:
silver 2023-05-21 16:18:53 +01:00
parent 9618d87c67
commit d3e1e3e67f

View file

@ -270,6 +270,26 @@ in {
# no leading whitespace for first line
};
"csn.ul.ie" = {
extraConfig = ''
allow-update { key rfc2136key.skynet.ie.; };
dnssec-policy default;
inline-signing yes;
// for bumping the config
// ${current_date}
'';
# really wish teh nixos config didnt use master/slave
master = true;
slaves = [ ];
# need to write this to a file
# using the date in it so it will trigger a restart
file = "/etc/dns_custom/dns_zone_csn";
# no leading whitespace for first line
};
};
};
@ -291,6 +311,16 @@ in {
text = get_config_file "skynet.ie";
};
"dns_custom/dns_zone_csn" = {
user = "named";
group = "named";
# The UNIX file mode bits
mode = "0644";
text = get_config_file "csn.ul.ie";
};
};
};
}