beherbergung/deployment/modules/dns/search.warhelp.eu.nix

35 lines
682 B
Nix

{ dns, ... }:
with dns.lib.combinators; {
SOA = {
nameServer = "ns1.broenradio.org.";
adminEmail = "dns-admin@warhelp.eu";
serial = 2022031701;
};
NS = [
"ns1.broenradio.org."
"ns2.broenradio.org."
];
#CNAME = [ "eve.thalheim.io" ]; ## not possible for the subdomain
A = [ "88.99.244.96" ];
AAAA = [ "2a01:4f8:10b:49f:1::1" ];
subdomains = rec {
#mic1 = cname "eve.thalheim.io"; ## TODO why doesn't it work?
mic1 = host "88.99.244.96" "2a01:4f8:10b:49f:1::1";
backend = mic1;
search = mic1;
#submission = mic1;
#binarycache = mic1;
#grafana = mic1;
#prometheus-mic1 = mic1;
#loki-mic1 = mic1;
};
}