You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

74 lines
1.7 KiB

### fjall.org
# A fjall.org
resource "digitalocean_domain" "fjall-org" {
name = "fjall.org"
ip_address = local.fsn_lb_ip
}
# CNAME www.fjall.org
resource "digitalocean_record" "www-fjall-org" {
domain = digitalocean_domain.fjall-org.name
type = "CNAME"
name = "www"
value = "${digitalocean_domain.fjall-org.name}."
ttl = 60
}
# MX fjall.org
resource "digitalocean_record" "fjall-org-mx-0" {
domain = digitalocean_domain.fjall-org.name
type = "MX"
name = "@"
priority = "10"
value = "aspmx.l.google.com."
ttl = 60
}
# MX fjall.org
resource "digitalocean_record" "fjall-org-mx-1" {
domain = digitalocean_domain.fjall-org.name
type = "MX"
name = "@"
priority = "20"
value = "alt1.aspmx.l.google.com."
ttl = 60
}
# MX fjall.org
resource "digitalocean_record" "fjall-org-mx-2" {
domain = digitalocean_domain.fjall-org.name
type = "MX"
name = "@"
priority = "20"
value = "alt2.aspmx.l.google.com."
ttl = 60
}
# MX fjall.org
resource "digitalocean_record" "fjall-org-mx-3" {
domain = digitalocean_domain.fjall-org.name
type = "MX"
name = "@"
priority = "30"
value = "aspmx2.googlemail.com."
ttl = 60
}
# MX fjall.org
resource "digitalocean_record" "fjall-org-mx-4" {
domain = digitalocean_domain.fjall-org.name
type = "MX"
name = "@"
priority = "30"
value = "aspmx3.googlemail.com."
ttl = 60
}
# TXT fjall.org
resource "digitalocean_record" "fjall-org-txt" {
domain = digitalocean_domain.fjall-org.name
type = "TXT"
name = "@"
value = "v=spf1 mx a ptr include:spf.messagingengine.com include:_spf.google.com ?all"
ttl = 60
}