fix mail dns entry
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
vincent 2023-11-05 14:58:41 +01:00
parent 674813e2e4
commit 5685458fbf
2 changed files with 3 additions and 2 deletions

View File

@ -78,7 +78,7 @@ resource "hetznerdns_record" "rootalias" {
resource "powerdns_record" "mail" { resource "powerdns_record" "mail" {
zone= powerdns_zone.ducampseu.name zone= powerdns_zone.ducampseu.name
type= "MX" type= "MX"
name= "mail.${powerdns_zone.ducampseu.name}" name= "${powerdns_zone.ducampseu.name}"
ttl= 1700 ttl= 1700
records = ["10 ${var.localEndpoint}"] records = ["10 ${var.localEndpoint}"]
} }

View File

@ -33,7 +33,8 @@ variable cnameList{
"torrent", "torrent",
"vault", "vault",
"vikunja", "vikunja",
"www" "www",
"mail"
] ]
} }