From fdc78d39b830e98eb912f8244a08abba4492d08a Mon Sep 17 00:00:00 2001 From: Niels Kunis Date: Sun, 16 Jul 2023 17:58:18 +0200 Subject: [PATCH] updated spf record --- terraform/dns/geokunis2_nl.tf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/terraform/dns/geokunis2_nl.tf b/terraform/dns/geokunis2_nl.tf index f59b577..24ba2e8 100644 --- a/terraform/dns/geokunis2_nl.tf +++ b/terraform/dns/geokunis2_nl.tf @@ -29,6 +29,14 @@ resource "powerdns_record" "mail_geokunis2_nl_a" { ttl = 60 } +resource "powerdns_record" "spf_geokunis2_nl_txt" { + zone = powerdns_zone.geokunis2_nl.name + name = "geokunis2.nl." + type = "TXT" + records = ["\"v=spf1 a:smtp.tweak.nl ip4:84.245.14.149 ip4:82.197.196.177 ~all\""] + ttl = 60 +} + resource "powerdns_record" "geokunis2_nl_aaaa" { zone = powerdns_zone.geokunis2_nl.name name = "geokunis2.nl."