From eb15e0ec28e0465535dc3743eececd68ea12e4de Mon Sep 17 00:00:00 2001 From: Bart Geesink Date: Wed, 3 Jul 2024 17:46:50 +0200 Subject: [PATCH] Bind: Add mail related records to the zone, indicating it is not used for email --- roles/bind/templates/ha_zone_file.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/bind/templates/ha_zone_file.j2 b/roles/bind/templates/ha_zone_file.j2 index 67667a487..beca05211 100644 --- a/roles/bind/templates/ha_zone_file.j2 +++ b/roles/bind/templates/ha_zone_file.j2 @@ -9,6 +9,9 @@ $ORIGIN hb.{{ base_domain }}. ) IN NS ns1hb.{{ base_domain }}. IN NS ns2hb.{{ base_domain }}. + IN MX 0 . + IN TXT "v=spf1 -all" + IN TXT "v=DMARC1; p=reject;" restricted 300 IN A {{haproxy_sni_ip_restricted.ipv4 }} restricted 300 IN AAAA {{haproxy_sni_ip_restricted.ipv6 }} unrestricted 300 IN A {{haproxy_sni_ip.ipv4 }}