From e0c4c5f5de5d488d40ad34f630e4c7dc93f92587 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 1 Dec 2018 16:08:37 +0800 Subject: dns: Add CNAME d.233233.xyz --- group_vars/all/vars.yml | 1 + roles/dns/templates/zones/233233.xyz.zone.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/group_vars/all/vars.yml b/group_vars/all/vars.yml index be0a834..67a18a3 100644 --- a/group_vars/all/vars.yml +++ b/group_vars/all/vars.yml @@ -28,6 +28,7 @@ domains: - name: 233233.xyz sub: - www + - d - g - zw - name: 1314233.xyz diff --git a/roles/dns/templates/zones/233233.xyz.zone.j2 b/roles/dns/templates/zones/233233.xyz.zone.j2 index 8001482..efe0716 100644 --- a/roles/dns/templates/zones/233233.xyz.zone.j2 +++ b/roles/dns/templates/zones/233233.xyz.zone.j2 @@ -21,7 +21,7 @@ $TTL {{ dns.ttl }} @ IN A {{ network.ipv4.address }} @ IN AAAA {{ network.ipv6.address }} -{% for name in ["www", "g", "zw", "*"] %} +{% for name in ["www", "d", "g", "zw", "*"] %} {{ name }} IN CNAME @ {% endfor %} -- cgit v1.2.2