aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/dns/templates/zones/aaronly.me.zone.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/dns/templates/zones/aaronly.me.zone.j2 b/roles/dns/templates/zones/aaronly.me.zone.j2
index 3b2f0d0..c2e4cbf 100644
--- a/roles/dns/templates/zones/aaronly.me.zone.j2
+++ b/roles/dns/templates/zones/aaronly.me.zone.j2
@@ -34,6 +34,7 @@ liteserver IN AAAA 2a04:52c0:101:55a::218
; Mail server
{% if domain != network.domain %}
@ IN MX 10 mail.{{ network.domain }}.
+mail IN CNAME mail.{{ network.domain }}.
{% endif %}
@ IN TXT "v=spf1 mx -all"
@ IN TXT "google-site-verification={{ mail['google-site-verification'][domain] }}"