add docker host for accessing api

This commit is contained in:
rene committed 2024-07-26 11:44:05 +02:00
1 parent ffc44a6b12
commit 7e513f6c77
1 file changed
+1
@@ -2,3 +2,4 @@ api = Yes
api-key ={{ pdns_api_key | default(lookup('password', '/etc/powerdns/pdns.d/.api-key length=20')) }}
webserver = Yes
webserver-address = {% if wg_local_ip is defined %}, {{ wg_local_ip | ansible.utils.ipaddr('address') }}{% else %}{{ ansible_default_ipv4.address }}{% endif %}
webserver-allow-from = 127.0.0.1, [::1], 192.168.1.238