18 lines
343 B
Django/Jinja
18 lines
343 B
Django/Jinja
# ansible managed
|
|
|
|
# A Record
|
|
# local-data: "edge.s21.sudo.is. A 10.102.47.138"
|
|
|
|
|
|
# PTR Records
|
|
|
|
{% for name, wg in wg_clients.items() %}
|
|
{% if name.endswith(domain) %}
|
|
local-data-ptr: "{{ wg['ip'] }} {{ name }}."
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% for item in s21_ptrs %}
|
|
local-data-ptr: "{{ item['ip'] }} {{ item['name'] }}."
|
|
{% endfor %}
|