listen on all interfaces

This commit is contained in:
2025-02-26 10:24:31 +01:00
parent 0bac0f0387
commit 2823526154

View File

@@ -1,5 +1,6 @@
api = Yes api = Yes
api-key ={{ pdns_api_key | default(lookup('password', '/etc/powerdns/pdns.d/.api-key length=20')) }} api-key ={{ pdns_api_key | default(lookup('password', '/etc/powerdns/pdns.d/.api-key length=20')) }}
webserver = Yes webserver = Yes
webserver-address = {% if wg_local_ip is defined %}, {{ wg_local_ip | ansible.utils.ipaddr('address') }}{% else %}{{ ansible_default_ipv4.address }}{% endif %} #webserver-address = {% if wg_local_ip is defined %}, {{ wg_local_ip | ansible.utils.ipaddr('address') }}{% else %}{{ ansible_default_ipv4.address }}{% endif %}
webserver-address = 0.0.0.0
webserver-allow-from = 127.0.0.1, [::1], 192.168.1.238 webserver-allow-from = 127.0.0.1, [::1], 192.168.1.238