From 52042a1244a5d134809a8fc089cf78b6851365b6 Mon Sep 17 00:00:00 2001 From: Hubert Cornet Date: Mon, 4 Aug 2025 19:44:36 +0200 Subject: [PATCH] Actualiser records_txt.tf --- records_txt.tf | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/records_txt.tf b/records_txt.tf index 5300442..85b0493 100644 --- a/records_txt.tf +++ b/records_txt.tf @@ -1,6 +1,6 @@ resource "cloudflare_dns_record" "txt-amazonses" { zone_id = var.cloudflare_zone_id - comment = "Domain verification record E" + comment = "Domain verification record R" content = "\"xxxxxxxx\"" name = "_amazonses" proxied = false @@ -11,7 +11,7 @@ resource "cloudflare_dns_record" "txt-amazonses" { resource "cloudflare_dns_record" "txt-dmarc" { zone_id = var.cloudflare_zone_id - comment = "Domain verification record F" + comment = "Domain verification record S" # content = "\"v=DMARC1; p=none; pct=100; rua=mailto:dmarc@tips-of-mine.org; sp=none; aspf=r;\"" content = "\"v=DMARC1; p=none\"" name = "_dmarc" @@ -23,7 +23,7 @@ resource "cloudflare_dns_record" "txt-dmarc" { resource "cloudflare_dns_record" "txt-mandrill-domainkey" { zone_id = var.cloudflare_zone_id - comment = "Domain verification record G" + comment = "Domain verification record T" content = "\"v=DKIM1; k=rsa; p=xxxxxxxx;\"" name = "mandrill._domainkey" proxied = false @@ -34,7 +34,7 @@ resource "cloudflare_dns_record" "txt-mandrill-domainkey" { resource "cloudflare_dns_record" "txt-yunohost" { zone_id = var.cloudflare_zone_id - comment = "Domain verification record O" + comment = "Domain verification record U" content = "\"v=spf1 a mx -all\"" name = "@" proxied = false @@ -43,13 +43,24 @@ resource "cloudflare_dns_record" "txt-yunohost" { type = "TXT" } -resource "cloudflare_dns_record" "txt-yunohost" { +resource "cloudflare_dns_record" "txt-mail-domainkey" { zone_id = var.cloudflare_zone_id - comment = "Domain verification record P" + comment = "Domain verification record V" content = "\"v=DKIM1; h=sha256; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCxR3mgKVD2xC8EbsgvrTZZJLvBFdPPRFPQIyMplnY6mC6pi7Jn4b/FFAggWRHEN3gh50BheYePa8DItTXLPl9WemSCL9TUsbM3S9p19qx5iuT7hFLGl2C54Ps0z7Jh5XIlxUHKIl22vNlACPG548BG4N1qz1lYNHlSRmUgBUJsCQIDAQAB\"" name = "mail._domainkey" proxied = false tags = [] ttl = 3600 type = "TXT" +} + +resource "cloudflare_dns_record" "txt-tips-of-mine" { + zone_id = var.cloudflare_zone_id + comment = "Domain verification record W" + content = "\"v=spf1 a mx -all\"" + name = "mail._domainkey" + proxied = false + tags = [] + ttl = 3600 + type = "TXT" } \ No newline at end of file