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.
 
 

109 lines
2.4 KiB

### lokun.is
# A lokun.is
resource "digitalocean_domain" "lokun-is" {
name = "lokun.is"
ip_address = local.freespace_ip
}
# CNAME www.lokun.is
resource "digitalocean_record" "www-lokun-is" {
domain = digitalocean_domain.lokun-is.name
type = "CNAME"
name = "www"
value = "${digitalocean_domain.lokun-is.name}."
ttl = 60
}
# api.lokun.is
resource "digitalocean_record" "api-lokun-is" {
domain = digitalocean_domain.lokun-is.name
type = "A"
name = "api"
value = "178.79.148.123"
ttl = 60
}
# MX lokun.is
resource "digitalocean_record" "lokun-is-mx-0" {
domain = digitalocean_domain.lokun-is.name
type = "MX"
name = "@"
priority = "10"
value = "aspmx.l.google.com."
ttl = 60
}
# MX lokun.is
resource "digitalocean_record" "lokun-is-mx-1" {
domain = digitalocean_domain.lokun-is.name
type = "MX"
name = "@"
priority = "20"
value = "alt1.aspmx.l.google.com."
ttl = 60
}
# MX lokun.is
resource "digitalocean_record" "lokun-is-mx-2" {
domain = digitalocean_domain.lokun-is.name
type = "MX"
name = "@"
priority = "20"
value = "alt2.aspmx.l.google.com."
ttl = 60
}
# MX lokun.is
resource "digitalocean_record" "lokun-is-mx-3" {
domain = digitalocean_domain.lokun-is.name
type = "MX"
name = "@"
priority = "30"
value = "aspmx2.googlemail.com."
ttl = 60
}
# MX lokun.is
resource "digitalocean_record" "lokun-is-mx-4" {
domain = digitalocean_domain.lokun-is.name
type = "MX"
name = "@"
priority = "30"
value = "aspmx3.googlemail.com."
ttl = 60
}
# TXT lokun.is
resource "digitalocean_record" "lokun-is-txt" {
domain = digitalocean_domain.lokun-is.name
type = "TXT"
name = "@"
value = "v=spf1 mx a ptr ptr:${cloudflare_zone.sudois.zone} include:_spf.investici.org"
ttl = 60
}
resource "digitalocean_record" "lokun-is-txt-google" {
domain = digitalocean_domain.lokun-is.name
type = "TXT"
name = "@"
value = "google-site-verification=fD1RzxymoKix1SZi7pmI_lzUeYHp9JjczwkeBT2UMAg"
ttl = 60
}
# dns0.lokun.is
resource "digitalocean_record" "dns0-lokun-is" {
domain = digitalocean_domain.lokun-is.name
type = "A"
name = "dns0"
value = "188.226.170.178"
ttl = 60
}
# dns0.lokun.is
resource "digitalocean_record" "dns1-lokun-is" {
domain = digitalocean_domain.lokun-is.name
type = "A"
name = "dns1"
value = "128.199.128.179"
ttl = 60
}