diff options
| author | Joe Carstairs <me@joeac.net> | 2026-08-28 15:23:36 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-08-28 15:23:36 +0100 |
| commit | 4931117343a3105749b4a3698dd24c824a505441 (patch) | |
| tree | fd4c10ac16fc37e694bea8fced8eb5aea55cc966 /roles/dyndns/templates/dyndns.zone | |
| parent | 2a15e073bceaaf0765343dd57931c85cada6f89c (diff) | |
ovh-ify dyndns
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 %} |
