This commit is contained in:
2024-07-22 18:15:43 +02:00
parent 8be0840799
commit 0d480308d8

View File

@@ -1,4 +1,6 @@
allow-from = 192.168.1.0/24, 192.168.3.0/24, 172.16.0.0/24, 127.0.0.0/8
local-address = {% if wg_local_ip is defined %}, {{ wg_local_ip | ansible.utils.ipaddr('address') }} {% else %} {{ ansible_default_ipv4.address }} {% endif %}
local-port = {% if pdns_recursor_lport is defined %} {{ pdns_recursor_lport }} {% else %} 53 {% endif %}
query-local-address = {% if ansible_default_ipv6.address is defined %}, {{ ansible_default_ipv6.address }} {% else %} {{ ansible_default_ipv4.address }} {% endif %}
local-address = {% if wg_local_ip is defined %}{{ wg_local_ip | ansible.utils.ipaddr('address') }}{% else %}{{ ansible_default_ipv4.address }}{% endif %}
local-port = {% if pdns_recursor_lport is defined %}{{ pdns_recursor_lport }}{% else %}53{% endif %}
query-local-address = {{ ansible_default_ipv4.address }} {% if ansible_default_ipv6.address is defined %}, {{ ansible_default_ipv6.address }}{% endif %}