fix: missing NS entry for trafieck acme

This commit is contained in:
vincent 2023-10-21 14:02:05 +02:00
parent ae52d90998
commit a8ed6daf77
2 changed files with 14 additions and 3 deletions

View File

@ -66,7 +66,12 @@ resource "hetznerdns_record" "submissionAutodiscoverEU" {
value = "0 0 465 mail.ducamps.eu"
type = "SRV"
}
resource "hetznerdns_record" "NSEU" {
zone_id = hetznerdns_zone.externalZoneEU.id
name = "@"
value = "hydrogen.ns.hetzner.com."
type = "NS"
}
resource "hetznerdns_record" "rootalias" {
zone_id = hetznerdns_zone.externalZone.id
name = "@"
@ -79,6 +84,12 @@ resource "hetznerdns_record" "MX1" {
value = "20 spool.mail.gandi.net."
type = "MX"
}
resource "hetznerdns_record" "NS" {
zone_id = hetznerdns_zone.externalZone.id
name = "@"
value = "hydrogen.ns.hetzner.com."
type = "NS"
}
resource "hetznerdns_record" "MX2" {
zone_id = hetznerdns_zone.externalZone.id
name = "@"

View File

@ -123,12 +123,12 @@ job "traefik-local" {
insecure = true
[ping]
[certificatesResolvers.myresolver.acme]
email = "vincent@ducamps.win"
email = "vincent@ducamps.eu"
storage = "acme.json"
[certificatesResolvers.myresolver.acme.dnsChallenge]
provider = "hetzner"
delayBeforeCheck = 0
resolvers = ["hydrogen.ns.hetzner.com"]
resolvers = ["hydrogen.ns.hetzner.com","oxygen.ns.hetzner.com"]
[metrics]
[metrics.prometheus]