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

View File

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