restructure modules
This commit is contained in:
parent
11ec763244
commit
aba16d3fd1
7 changed files with 51 additions and 49 deletions
29
nixos/modules/networking/dmz/zones/geokunis2.nl.nix
Normal file
29
nixos/modules/networking/dmz/zones/geokunis2.nl.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ publicIpv4, dns }:
|
||||
with dns.lib.combinators;
|
||||
|
||||
{
|
||||
SOA = {
|
||||
nameServer = "ns";
|
||||
adminEmail = "hostmaster@geokunis2.nl";
|
||||
serial = 1704580936;
|
||||
};
|
||||
|
||||
NS = [
|
||||
"ns.geokunis2.nl."
|
||||
"ns0.transip.net."
|
||||
"ns1.transip.nl."
|
||||
"ns2.transip.eu."
|
||||
];
|
||||
|
||||
MX = [ (mx.mx 10 "mail.geokunis2.nl.") ];
|
||||
|
||||
A = [ publicIpv4 ];
|
||||
CAA = letsEncrypt "caa@geokunis2.nl";
|
||||
|
||||
subdomains = {
|
||||
ns.A = [ publicIpv4 ];
|
||||
ns1.A = [ publicIpv4 ];
|
||||
ns2.A = [ publicIpv4 ];
|
||||
"*".A = [ publicIpv4 ];
|
||||
};
|
||||
}
|
28
nixos/modules/networking/dmz/zones/kun.is.nix
Normal file
28
nixos/modules/networking/dmz/zones/kun.is.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ publicIpv4, dns }:
|
||||
with dns.lib.combinators;
|
||||
|
||||
{
|
||||
CAA = letsEncrypt "caa@kun.is";
|
||||
|
||||
SOA = {
|
||||
nameServer = "ns1";
|
||||
adminEmail = "webmaster@kun.is";
|
||||
serial = 1704580936;
|
||||
};
|
||||
|
||||
NS = [
|
||||
"ns1.kun.is."
|
||||
"ns2.kun.is."
|
||||
];
|
||||
|
||||
MX = [
|
||||
(mx.mx 10 "mail.kun.is.")
|
||||
];
|
||||
|
||||
subdomains = {
|
||||
ns.A = [ publicIpv4 ];
|
||||
ns1.A = [ publicIpv4 ];
|
||||
ns2.A = [ publicIpv4 ];
|
||||
"*".A = [ publicIpv4 ];
|
||||
};
|
||||
}
|
Reference in a new issue