fix: unbound ipv6 localhost

This commit is contained in:
Clément Désiles
2026-01-18 13:21:15 +01:00
parent c79c445a23
commit aa5de65d30
2 changed files with 5 additions and 1 deletions
@@ -2,11 +2,13 @@
view:
name: "vpn"
view-first: yes
{% if unbound_custom_vpn_records is defined %}
{% for host, ips in unbound_custom_vpn_records.items() %}
local-data: "{{ host }}. IN A {{ ips.v4 }}"
{% if ips.v6 is defined %}
local-data: "{{ host }}. IN AAAA {{ ips.v6 }}"
{% endif %}
{% endfor %}
{% endif %}
include: "{{ unbound_ad_servers_config_path }}"