diff options
Diffstat (limited to 'roles/dyndns/templates/dyndns.zone')
| -rw-r--r-- | roles/dyndns/templates/dyndns.zone | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/dyndns/templates/dyndns.zone b/roles/dyndns/templates/dyndns.zone new file mode 100644 index 0000000..c3a7e6a --- /dev/null +++ b/roles/dyndns/templates/dyndns.zone @@ -0,0 +1,4 @@ +{% for subdomain in ( subdomains | rejectattr("service", "none") ) %} +{{ subdomain.name }} A {{ router.wan.ipv4 }} {{ dns_default_ttl }} +{{ subdomain.name }} AAAA {{ ansible_facts.default_ipv6.address }} {{ dns_default_ttl }} +{% endfor %} |
