configure correct backend for powerdns secondaries

This commit is contained in:
René Mewißen
2025-12-11 12:10:25 +01:00
parent ab9f681c0d
commit 15ad130112
2 changed files with 4 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
include-dir=/etc/powerdns/pdns.d
launch=
local-address={{ ansible_default_ipv4.address }}, [{{ ansible_default_ipv6.address }}], 127.0.0.1:553{% if wg_local_ip is defined %}, {{ wg_local_ip | ansible.utils.ipaddr('address') }}:553{% endif %}
security-poll-suffix=
launch += gmysql
gmysql-host = {{ pdns_pri_server }}
gmysql-password = {{ pdns_db_passwd | default(lookup('password', '/etc/powerdns/pdns.d/.mysqlpw length=20')) }}
gmysql-dnssec = Yes