Migrate DNS to official hcloud provider and fix mail IPv6 deliverability

Switched DNS management from timohirt/hetznerdns to official hetznercloud/hcloud RRSet resources, imported existing records, and removed legacy provider config. Also enabled mail.banditlair.com AAAA with matching rDNS to satisfy Gmail IPv6 sender checks
This commit is contained in:
Paul-Henri Froidmont 2026-03-27 02:32:45 +01:00
parent a6571d5f39
commit 02e8e936c2
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
2 changed files with 176 additions and 211 deletions

View file

@ -10,29 +10,11 @@ terraform {
required_providers {
hcloud = {
source = "hetznercloud/hcloud"
version = "~> 1.49"
version = "~> 1.60"
}
null = {
source = "hashicorp/null"
version = "~> 3.2"
}
hetznerdns = {
source = "timohirt/hetznerdns"
version = ">= 2.2.0"
}
sops = {
source = "carlpett/sops"
version = "~> 0.7"
}
}
}
data "sops_file" "secrets" {
source_file = "../secrets.enc.yml"
}
provider "hetznerdns" {
apitoken = data.sops_file.secrets.data["hcloud.dns_token"]
}