From b8db97a604684ac9c2eb04fe719740eae6e021a2 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 ad069c1..ed2e816 100644 --- a/terraform/dns.tf +++ b/terraform/dns.tf @@ -177,6 +177,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"