_acme-theone

This commit is contained in:
Motiejus Jakštys 2023-08-07 00:59:51 +03:00
parent a783e84e0b
commit 275c4ee8ca
2 changed files with 11 additions and 6 deletions

View File

@ -80,12 +80,16 @@ rec {
fwmine A ${hel1a} fwmine A ${hel1a}
hel1-a A ${hel1a} hel1-a A ${hel1a}
vno1 A ${vno1} vno1 A ${vno1}
grafana A ${hosts."vno1-oh2.servers.jakst".jakstIP}
_acme-challenge.grafana NS _acme.grafana.jakstys.lt.
@ MX 10 aspmx.l.google.com. @ MX 10 aspmx.l.google.com.
@ MX 20 alt1.aspmx.l.google.com. @ MX 20 alt1.aspmx.l.google.com.
@ MX 20 alt2.aspmx.l.google.com. @ MX 20 alt2.aspmx.l.google.com.
@ MX 30 aspmx2.googlemail.com. @ MX 30 aspmx2.googlemail.com.
@ MX 30 aspmx3.googlemail.com. @ MX 30 aspmx3.googlemail.com.
grafana 600 A ${hosts."vno1-oh2.servers.jakst".jakstIP}
_acme-challenge.grafana 600 CNAME _acme-endpoint.grafana
_acme-endpoint.grafana 600 NS ns._acme-endpoint.grafana
ns._acme-endpoint.grafana 600 A ${vno1}
''; '';
} }

View File

@ -175,11 +175,12 @@
interfaces = ["0.0.0.0" "::"]; interfaces = ["0.0.0.0" "::"];
zones = { zones = {
"jakstys.lt.".data = myData.jakstysLTZone; "jakstys.lt.".data = myData.jakstysLTZone;
"_acme.grafana.jakstys.lt".data = '' "_acme-endpoint.grafana.jakstys.lt".data = ''
$ORIGIN _acme.grafana.jakstys.lt. $ORIGIN _acme-endpoint.grafana.jakstys.lt.
$TTL 60 $TTL 60
@ SOA _acme.grafana.jakstys.lt. motiejus.jakstys.lt. (2023080701 600 600 600 600) @ SOA _acme-endpoint.grafana.jakstys.lt. motiejus.jakstys.lt. (2023080702 600 600 600 600)
@ TXT foo1 @ TXT foo2
ns NS ${myData.hosts."vno1-oh2.servers.jakst".publicIP}
''; '';
}; };
}; };