From a424152f9420c29d3e75d7dd5165e16e42740d9c Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sat, 25 May 2024 17:25:07 +0200 Subject: [PATCH] dns: add test mail records for metronom.pub.solar DKIM, DMARC, SPF, MX --- terraform/dns.tf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/terraform/dns.tf b/terraform/dns.tf index 65b88228..72e65f9f 100644 --- a/terraform/dns.tf +++ b/terraform/dns.tf @@ -182,6 +182,27 @@ resource "namecheap_domain_records" "pub-solar" { address = "list.pub.solar." mx_pref = "0" } + record { + hostname = "metronom" + type = "TXT" + address = "v=spf1 a:metronom.pub.solar ?all" + } + record { + hostname = "mail._domainkey.metronom" + type = "TXT" + address = "p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCpFkI+IqTwyUIo5LqYVPMXlkTJe7trcE+ln6vjLFcoXBZaXfFVRJThMtfEZLkJ84ndEHadszFdSZs8eLRVCt/h7x9+GaOPIdKI9lbOn+AepwxhE3z/VrKKfO0CFyLsA6+XY7ebiF1aYctalY+r8Jtt8LuXh0Fj6+4YAFkvNxJEnQIDAQAB" + } + record { + hostname = "_dmarc.metronom" + type = "TXT" + address = "v=DMARC1; p=reject;" + } + record { + hostname = "metronom" + type = "MX" + address = "metronom.pub.solar." + mx_pref = "0" + } record { hostname = "nachtigall" type = "A"