deployment: serve search.warhelp.eu
This commit is contained in:
parent
78a340a1d0
commit
330046b55f
|
@ -17,6 +17,10 @@ in
|
|||
master = true;
|
||||
file = util.writeZone "beherbergung.mission-lifeline.de" (import (./dns + "/${config.networking.domain}.nix") {inherit dns;});
|
||||
};
|
||||
"search.warhelp.eu" = {
|
||||
master = true;
|
||||
file = util.writeZone "search.warhelp.eu" (import (./dns + "/search.warhelp.eu.nix") {inherit dns;});
|
||||
};
|
||||
};
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ 53 ];
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
{ dns, ... }:
|
||||
|
||||
with dns.lib.combinators; {
|
||||
SOA = {
|
||||
nameServer = "ns1.broenradio.org.";
|
||||
|
||||
adminEmail = "dns-admin@warhelp.eu";
|
||||
serial = 2022032201;
|
||||
};
|
||||
|
||||
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::2" ];
|
||||
|
||||
subdomains = rec {
|
||||
#mic1 = cname "eve.thalheim.io"; ## TODO why doesn't it work?
|
||||
mic1 = host "88.99.244.96" "2a01:4f8:10b:49f::2";
|
||||
|
||||
backend = mic1;
|
||||
search = mic1;
|
||||
submission = mic1;
|
||||
|
||||
binarycache = mic1;
|
||||
grafana = mic1;
|
||||
|
||||
prometheus-mic1 = mic1;
|
||||
loki-mic1 = mic1;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue