47 lines
1 KiB
HCL
47 lines
1 KiB
HCL
resource "hostingde_zone" "momo" {
|
|
name = "momo.koeln"
|
|
type = "NATIVE"
|
|
}
|
|
|
|
resource "hostingde_record" "mx" {
|
|
zone_id = hostingde_zone.momo.id
|
|
name = "list.momo.koeln"
|
|
type = "MX"
|
|
content = "list.pub.solar"
|
|
}
|
|
|
|
resource "hostingde_record" "auth" {
|
|
zone_id = hostingde_zone.momo.id
|
|
name = "auth.momo.koeln"
|
|
type = "A"
|
|
content = "80.244.242.4"
|
|
}
|
|
|
|
resource "hostingde_record" "inv" {
|
|
zone_id = hostingde_zone.momo.id
|
|
name = "inv.momo.koeln"
|
|
type = "A"
|
|
content = "80.244.242.4"
|
|
}
|
|
|
|
resource "hostingde_record" "website" {
|
|
zone_id = hostingde_zone.momo.id
|
|
name = "momo.koeln"
|
|
type = "ALIAS"
|
|
content = "garage-cluster.svc.aab0f485-69e7-467f-a86e-9b4d4a4875ad.lev-1.greenbaum.zone"
|
|
}
|
|
|
|
resource "hostingde_record" "dmarc" {
|
|
zone_id = hostingde_zone.momo.id
|
|
name = "_dmarc.list.momo.koeln"
|
|
type = "TXT"
|
|
content = "\"v=DMARC1; p=reject;\""
|
|
}
|
|
|
|
resource "hostingde_record" "spf" {
|
|
zone_id = hostingde_zone.momo.id
|
|
name = "list.momo.koeln"
|
|
type = "TXT"
|
|
content = "\"v=spf1 a:list.pub.solar ?all\""
|
|
}
|