65 lines
1.4 KiB
Terraform
65 lines
1.4 KiB
Terraform
|
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
|
||
|
}
|