Add DMARC to mailgun

This commit is contained in:
Jake Howard 2022-09-22 21:29:21 +01:00
parent 8c1f088b19
commit 1eaa33e664
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 16 additions and 0 deletions

View file

@ -179,3 +179,11 @@ resource "cloudflare_record" "jakehowardtech_mailgun_dkim" {
type = "TXT" type = "TXT"
ttl = 1 ttl = 1
} }
resource "cloudflare_record" "jakehowardtech_mailgun_dmarc" {
zone_id = cloudflare_zone.jakehowardtech.id
name = "_dmarc.mg"
value = "v=DMARC1; pct=100; p=quarantine; rua=mailto:dmarc-report@jakehoward.tech;"
type = "TXT"
ttl = 1
}

View file

@ -244,3 +244,11 @@ resource "cloudflare_record" "theorangeonenet_mailgun_dkim" {
type = "TXT" type = "TXT"
ttl = 1 ttl = 1
} }
resource "cloudflare_record" "theorangeonenet_mailgun_dmarc" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "_dmarc.mg"
value = "v=DMARC1; pct=100; p=quarantine; rua=mailto:dmarc-report@jakehoward.tech;"
type = "TXT"
ttl = 1
}