2024-01-17 17:45:49 +00:00
|
|
|
launch=gpgsql
|
|
|
|
gpgsql-host=localhost
|
|
|
|
gpgsql-port=5432
|
|
|
|
gpgsql-dbname=pdns
|
|
|
|
gpgsql-user=pdns
|
|
|
|
gpgsql-password={{ lookup('ansible.builtin.password', 'secrets/' + inventory_hostname + '/pg-pdns-password.txt', length=15) }}
|
|
|
|
gpgsql-dnssec=yes
|
|
|
|
default-soa-content=ns1.janky.zone dns-admin.@ 0 10800 3600 604800 3600
|
2024-04-08 00:54:12 +00:00
|
|
|
resolver=127.0.0.1
|
|
|
|
expand-alias=yes
|
2024-01-17 17:45:49 +00:00
|
|
|
|
|
|
|
{% if powerdns_admin | default(false) %}
|
|
|
|
api=yes
|
|
|
|
api-key={{ lookup('ansible.builtin.password', 'secrets/' + inventory_hostname + '/pdns-api-password.txt', length=15) }}
|
|
|
|
webserver-address=10.88.0.1
|
|
|
|
webserver-allow-from=10.88.0.0/24
|
|
|
|
{% endif %}
|