nixos-servers/nix/modules/networking/dmz_services/zones/geokunis2.nl.nix

42 lines
704 B
Nix
Raw Normal View History

{ config, dns, ... }:
2024-01-07 19:24:12 +00:00
with dns.lib.combinators;
let
2024-01-31 20:58:23 +00:00
cfg = config.lab.networking;
in
2024-01-07 19:24:12 +00:00
{
SOA = {
nameServer = "ns";
adminEmail = "hostmaster@geokunis2.nl";
serial = 2024020500;
2024-01-07 19:24:12 +00:00
};
NS = [
"ns.geokunis2.nl."
"ns0.transip.net."
"ns1.transip.nl."
"ns2.transip.eu."
];
MX = [ (mx.mx 10 "mail.geokunis2.nl.") ];
CAA = letsEncrypt "caa@geokunis2.nl";
subdomains = {
2024-01-14 14:20:32 +00:00
ns = {
2024-01-31 20:58:23 +00:00
A = [ cfg.public.ipv4.router ];
AAAA = [ cfg.dmz.ipv6.services ];
2024-01-14 14:20:32 +00:00
};
ns1 = {
2024-01-31 20:58:23 +00:00
A = [ cfg.public.ipv4.router ];
AAAA = [ cfg.dmz.ipv6.services ];
2024-01-14 14:20:32 +00:00
};
ns2 = {
2024-01-31 20:58:23 +00:00
A = [ cfg.public.ipv4.router ];
AAAA = [ cfg.dmz.ipv6.services ];
2024-01-14 14:20:32 +00:00
};
2024-01-17 17:09:05 +00:00
2024-01-07 19:24:12 +00:00
};
}