This commit is contained in:
@@ -16,3 +16,40 @@ resource "hcloud_zone" "avii" {
|
|||||||
mode = "primary"
|
mode = "primary"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "hcloud_zone_rrset" "mx" {
|
||||||
|
zone = hcloud_zone.avii.name
|
||||||
|
name = "@"
|
||||||
|
type = "MX"
|
||||||
|
|
||||||
|
records = [
|
||||||
|
{ value = "10 mx01.mail.icloud.com.", comment = "Apple Mail" },
|
||||||
|
{ value = "10 mx02.mail.icloud.com.", comment = "Apple Mail" },
|
||||||
|
]
|
||||||
|
|
||||||
|
change_protection = false
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "hcloud_zone_rrset" "dkim" {
|
||||||
|
zone = hcloud_zone.avii.name
|
||||||
|
name = "sig1._domainkey"
|
||||||
|
type = "CNAME"
|
||||||
|
|
||||||
|
records = [
|
||||||
|
{ value = "sig1.dkim.avii.ovh.at.icloudmailadmin.com.", comment = "Apple Mail" },
|
||||||
|
]
|
||||||
|
|
||||||
|
change_protection = false
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "hcloud_zone_rrset" "txt" {
|
||||||
|
zone = hcloud_zone.avii.name
|
||||||
|
name = "@"
|
||||||
|
type = "TXT"
|
||||||
|
|
||||||
|
records = [
|
||||||
|
{ value = provider::hcloud::txt_record("v=spf1 include:icloud.com ~all"), comment = "Apple Mail" },
|
||||||
|
{ value = provider::hcloud::txt_record("apple-domain=4Y71ffO5sr54SyCR"), comment = "Apple Mail" },
|
||||||
|
]
|
||||||
|
|
||||||
|
change_protection = false
|
||||||
|
}
|
||||||
|
|||||||
@@ -14,4 +14,42 @@ terraform {
|
|||||||
resource "hcloud_zone" "zenitho" {
|
resource "hcloud_zone" "zenitho" {
|
||||||
name = "zenitho.de"
|
name = "zenitho.de"
|
||||||
mode = "primary"
|
mode = "primary"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "hcloud_zone_rrset" "mx" {
|
||||||
|
zone = hcloud_zone.zenitho.name
|
||||||
|
name = "@"
|
||||||
|
type = "MX"
|
||||||
|
|
||||||
|
records = [
|
||||||
|
{ value = "10 mx01.mail.icloud.com.", comment = "Apple Mail" },
|
||||||
|
{ value = "10 mx02.mail.icloud.com.", comment = "Apple Mail" },
|
||||||
|
]
|
||||||
|
|
||||||
|
change_protection = false
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "hcloud_zone_rrset" "dkim" {
|
||||||
|
zone = hcloud_zone.zenitho.name
|
||||||
|
name = "sig1._domainkey"
|
||||||
|
type = "CNAME"
|
||||||
|
|
||||||
|
records = [
|
||||||
|
{ value = "sig1.dkim.zenitho.de.at.icloudmailadmin.com.", comment = "Apple Mail" },
|
||||||
|
]
|
||||||
|
|
||||||
|
change_protection = false
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "hcloud_zone_rrset" "txt" {
|
||||||
|
zone = hcloud_zone.zenitho.name
|
||||||
|
name = "@"
|
||||||
|
type = "TXT"
|
||||||
|
|
||||||
|
records = [
|
||||||
|
{ value = provider::hcloud::txt_record("v=spf1 include:icloud.com ~all"), comment = "Apple Mail" },
|
||||||
|
{ value = provider::hcloud::txt_record("apple-domain=DZsJe5U3xyjT6KQp"), comment = "Apple Mail" },
|
||||||
|
]
|
||||||
|
|
||||||
|
change_protection = false
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user