wip playing with acme-challenge

This commit is contained in:
Motiejus Jakštys 2023-08-07 00:26:49 +03:00
parent 3127fd3ee6
commit 36280e1624
2 changed files with 7 additions and 2 deletions

View File

@ -81,8 +81,7 @@ rec {
hel1-a A ${hel1a}
vno1 A ${vno1}
grafana A ${hosts."vno1-oh2.servers.jakst".jakstIP}
_acme-challenge.grafana CNAME _acme.grafana.jakstys.lt.
_acme.grafana A ${vno1}
_acme-challenge.grafana NS _acme.grafana.jakstys.lt.
@ MX 10 aspmx.l.google.com.
@ MX 20 alt1.aspmx.l.google.com.
@ MX 20 alt2.aspmx.l.google.com.

View File

@ -175,6 +175,12 @@
interfaces = ["0.0.0.0" "::"];
zones = {
"jakstys.lt.".data = myData.jakstysLTZone;
"_acme-challenge.grafana.jakstys.lt".data = ''
$ORIGIN _acme-challenge.grafana.jakstys.lt.
$TTL 60
@ SOA _acme-challenge.grafana.jakstys.lt. motiejus.jakstys.lt. (2023080700 600 600 600 600)
@ TXT foo1
'';
};
};
};