38 lines
1.3 KiB
Django/Jinja
38 lines
1.3 KiB
Django/Jinja
launch=gpgsql
|
|
local-address={{ hostvars[inventory_hostname].public_ipv6 }}
|
|
local-port=36419
|
|
|
|
gpgsql-host=/var/run/postgresql
|
|
gpgsql-dbname={{ pdns_pgsql_database }}
|
|
gpgsql-user={{ pdns_pgsql_user }}
|
|
gpgsql-password={{ pdns_pgsql_password }}
|
|
gpgsql-dnssec=yes
|
|
|
|
|
|
# gpgsql-get-order-first-query=select ordername from records where domain_id = $1 and disabled = false and ordername is not null order by 1 asc limit 1
|
|
# gpgsql-get-order-before-query=select ordername, name from records where ordername <= $1 and domain_id = $2 and disabled = false and ordername is not null order by 1 desc limit 1
|
|
# gpgsql-get-order-after-query=select ordername from records where ordername > $1 and domain_id = $2 and disabled = false and ordername is not null order by 1 asc limit 1
|
|
# gpgsql-get-order-last-query=select ordername, name from records where ordername != '' and domain_id = $1 and disabled = false and ordername is not null order by 1 desc limit 1
|
|
|
|
|
|
primary=yes
|
|
api=yes
|
|
api-key={{ pdns_web_apikey }}
|
|
webserver=False
|
|
webserver-port=8080
|
|
webserver-address=::1
|
|
webserver-allow-from=127.0.0.1
|
|
webserver-password={{ pdns_web_apikey }}
|
|
allow-axfr-ips={{ axfr_ipv6 | join(",") }}
|
|
disable-axfr=no
|
|
only-notify=
|
|
also-notify={{ axfr_ipv6 | join(",") }}
|
|
|
|
|
|
secondary=no
|
|
autosecondary=no
|
|
|
|
log-dns-details=yes
|
|
log-dns-queries=yes
|
|
log-timestamp=yes
|
|
loglevel=6
|