dns: added csn.ul.ie
This commit is contained in:
parent
9618d87c67
commit
d3e1e3e67f
1 changed files with 30 additions and 0 deletions
|
@ -270,6 +270,26 @@ in {
|
||||||
# no leading whitespace for first line
|
# 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";
|
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";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in a new issue