Swap CNAME for A
This commit is contained in:
parent
bdb4b20d35
commit
7e4eba3ac9
|
@ -10,6 +10,8 @@ server:
|
|||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
{% for entry in services.unbound.internal.local.CNAME %}
|
||||
local-data: "{{ entry.service }}.redxen.localhost. 60 IN CNAME {{ entry.host }}.redxen.localhost."
|
||||
{% for entry in services.unbound.internal.local.A %}
|
||||
{% for host in groups[entry.group] %}
|
||||
local-data: "{{ entry.service }}.redxen.localhost. 60 IN A {{ hostvars[host]['ansible_ens10']['ipv4']['address'] }}"
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
|
Reference in New Issue