Add Fastmail records for jakehoward.tech
All checks were successful
/ terraform (push) Successful in 36s
/ ansible (push) Successful in 1m29s

This commit is contained in:
Jake Howard 2024-09-05 21:23:53 +01:00
parent 5d06ed1e5e
commit b125d8422b
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -2,6 +2,67 @@ resource "gandi_livedns_domain" "jakehowardtech" {
name = "jakehoward.tech" name = "jakehoward.tech"
} }
resource "gandi_livedns_record" "jakehowardtech_mx" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "@"
type = "MX"
ttl = 3600
values = [
"10 in1-smtp.messagingengine.com",
"20 in2-smtp.messagingengine.com",
]
}
resource "gandi_livedns_record" "jakehowardtech_spf" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "@"
type = "TXT"
ttl = 3600
values = [
"\"v=spf1 include:spf.messagingengine.com -all\""
]
}
resource "gandi_livedns_record" "jakehowardtech_dkim_fm1" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "fm1._domainkey"
type = "CNAME"
ttl = 3600
values = [
"fm1.jakehoward.tech.dkim.fmhosted.com"
]
}
resource "gandi_livedns_record" "jakehowardtech_dkim_fm2" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "fm2._domainkey"
type = "CNAME"
ttl = 3600
values = [
"fm2.jakehoward.tech.dkim.fmhosted.com"
]
}
resource "gandi_livedns_record" "jakehowardtech_dkim_fm3" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "fm3._domainkey"
type = "CNAME"
ttl = 3600
values = [
"fm3.jakehoward.tech.dkim.fmhosted.com"
]
}
resource "gandi_livedns_record" "jakehowardtech_dmarc" {
zone = gandi_livedns_domain.jakehowardtech.id
name = "_dmarc"
type = "TXT"
ttl = 3600
values = [
"\"v=DMARC1; p=quarantine; ruf=mailto:dmarc-report@jakehoward.tech;\""
]
}
### ###
resource "cloudflare_zone" "jakehowardtech" { resource "cloudflare_zone" "jakehowardtech" {