From 72795591acbe8586c0b5c20f25b475e93bc41fe5 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 22 Sep 2022 21:12:41 +0100 Subject: [PATCH] Add DMARC --- terraform/jakehoward.tech.tf | 8 ++++++++ terraform/theorangeone.net.tf | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/terraform/jakehoward.tech.tf b/terraform/jakehoward.tech.tf index 4b13713..9bb1a88 100644 --- a/terraform/jakehoward.tech.tf +++ b/terraform/jakehoward.tech.tf @@ -52,6 +52,14 @@ resource "cloudflare_record" "jakehowardtech_dkim_fm3" { ttl = 1 } +resource "cloudflare_record" "jakehowardtech_dmarc" { + zone_id = cloudflare_zone.jakehowardtech.id + name = "_dmarc" + value = "v=DMARC1; p=quarantine; rua=mailto:dmarc-report@jakehoward.tech;" + type = "TXT" + ttl = 1 +} + resource "cloudflare_record" "jakehowardtech_wallabag" { zone_id = cloudflare_zone.jakehowardtech.id name = "wallabag" diff --git a/terraform/theorangeone.net.tf b/terraform/theorangeone.net.tf index 0dcc409..2f187b8 100644 --- a/terraform/theorangeone.net.tf +++ b/terraform/theorangeone.net.tf @@ -76,6 +76,14 @@ resource "cloudflare_record" "theorangeonenet_dkim_fm3" { ttl = 1 } +resource "cloudflare_record" "theorangeonenet_dmarc" { + zone_id = cloudflare_zone.theorangeonenet.id + name = "_dmarc" + value = "v=DMARC1; p=quarantine; rua=mailto:dmarc-report@jakehoward.tech;" + type = "TXT" + ttl = 1 +} + resource "cloudflare_record" "theorangeonenet_apex" { zone_id = cloudflare_zone.theorangeonenet.id name = "@"