os/terraform/benjaminbaedorf.eu.tf

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

65 lines
1.4 KiB
Terraform
Raw Normal View History

2023-11-12 17:17:35 +00:00
resource "hostingde_zone" "bbeu" {
name = "benjaminbaedorf.eu"
type = "NATIVE"
}
resource "hostingde_record" "bbeu-web" {
zone_id = hostingde_zone.bbeu.id
name = "benjaminbaedorf.eu"
type = "ALIAS"
content = "b12f.io"
ttl = 300
}
resource "hostingde_record" "bbeu-www" {
zone_id = hostingde_zone.bbeu.id
name = "www.benjaminbaedorf.eu"
type = "CNAME"
content = "b12f.io"
ttl = 300
}
# resource "hostingde_record" "bbeu-mx-1" {
# zone_id = hostingde_zone.bbeu.id
# name = "benjaminbaedorf.eu"
# type = "MX"
# content = "mx01.routing.net"
# priority = 10
# ttl = 300
# }
#
# resource "hostingde_record" "bbeu-mx-2" {
# zone_id = hostingde_zone.bbeu.id
# name = "benjaminbaedorf.eu"
# type = "MX"
# content = "mx02.routing.net"
# priority = 10
# ttl = 300
# }
#
# resource "hostingde_record" "bbeu-mx-3" {
# zone_id = hostingde_zone.bbeu.id
# name = "benjaminbaedorf.eu"
# type = "MX"
# content = "mx03.routing.net"
# priority = 10
# ttl = 300
# }
#
# resource "hostingde_record" "bbeu-mx-backup" {
# zone_id = hostingde_zone.bbeu.id
# name = "benjaminbaedorf.eu"
# type = "MX"
# content = "mxbackup.routing.net"
# priority = 20
# ttl = 300
# }
resource "hostingde_record" "bbeu-spf" {
zone_id = hostingde_zone.bbeu.id
name = "benjaminbaedorf.eu"
type = "TXT"
content = "\"v=spf1 include:spf.routing.net ?all\""
ttl = 300
}