diff options
author | Aaron LI <aly@aaronly.me> | 2018-03-07 23:21:38 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-03-14 11:35:08 +0800 |
commit | f5b1f531b5544a1d335f75d057620ce0db92ffef (patch) | |
tree | 761887d90626b848c7a6f27747636788d1cdf146 /roles | |
parent | 14c6bdf87cea531aac2dac64c7fa77e4147f6a95 (diff) | |
download | ansible-dfly-vps-f5b1f531b5544a1d335f75d057620ce0db92ffef.tar.bz2 |
dns/zones: add mail.aaronly.me CNAME
Diffstat (limited to 'roles')
-rw-r--r-- | roles/dns/templates/zones/aaronly.me.zone.j2 | 1 |
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] }}" |