diff options
author | Aaron LI <aly@aaronly.me> | 2018-03-07 19:33:47 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-03-14 11:35:08 +0800 |
commit | 14c6bdf87cea531aac2dac64c7fa77e4147f6a95 (patch) | |
tree | 7901dfe35d6d7f604a1a67fd7e79aac2d216bbf1 /roles/dns/templates/zones/233233.xyz.zone.j2 | |
parent | 9110251275632904a9aa20fda811ca3bde20ada2 (diff) | |
download | ansible-dfly-vps-14c6bdf87cea531aac2dac64c7fa77e4147f6a95.tar.bz2 |
dns/zones: update aaronly.me for dns switch; other minor updates
Diffstat (limited to 'roles/dns/templates/zones/233233.xyz.zone.j2')
-rw-r--r-- | roles/dns/templates/zones/233233.xyz.zone.j2 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/roles/dns/templates/zones/233233.xyz.zone.j2 b/roles/dns/templates/zones/233233.xyz.zone.j2 index 21a414a..8001482 100644 --- a/roles/dns/templates/zones/233233.xyz.zone.j2 +++ b/roles/dns/templates/zones/233233.xyz.zone.j2 @@ -1,5 +1,6 @@ -{% set hostmaster = "hostmaster." + network.domain %} +; -*- mode: dns; -*- ; {{ ansible_managed }} +{% set hostmaster = "hostmaster." + network.domain %} $ORIGIN {{ domain }}. $TTL {{ dns.ttl }} @@ -20,9 +21,8 @@ $TTL {{ dns.ttl }} @ IN A {{ network.ipv4.address }} @ IN AAAA {{ network.ipv6.address }} -www IN CNAME @ -g IN CNAME @ -zw IN CNAME @ -* IN CNAME @ +{% for name in ["www", "g", "zw", "*"] %} +{{ name }} IN CNAME @ +{% endfor %} ; vim: set ft=bindzone: |