forked from ISTI-ansible-roles/ansible-roles
powerdns: more options for the 'slave' configuration.
This commit is contained in:
parent
5657fc35fa
commit
ac53754be0
|
@ -489,7 +489,9 @@ master={{ powerdns_auth_master | default('no') }}
|
||||||
#################################
|
#################################
|
||||||
# retrieval-threads Number of AXFR-retrieval threads for slave operation
|
# retrieval-threads Number of AXFR-retrieval threads for slave operation
|
||||||
#
|
#
|
||||||
# retrieval-threads=2
|
{% if powerdns_auth_slave is defined and powerdns_auth_slave %}
|
||||||
|
retrieval-threads=2
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# reuseport Enable higher performance on compliant kernels by using SO_REUSEPORT allowing each receiver thread to open its own socket
|
# reuseport Enable higher performance on compliant kernels by using SO_REUSEPORT allowing each receiver thread to open its own socket
|
||||||
|
@ -524,17 +526,21 @@ setuid=pdns
|
||||||
#################################
|
#################################
|
||||||
# slave Act as a slave
|
# slave Act as a slave
|
||||||
#
|
#
|
||||||
slave={{ powerdns_auth_slave | default('no') }}
|
{% if powerdns_auth_slave is defined and powerdns_auth_slave %}
|
||||||
|
slave=yes
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# slave-cycle-interval Schedule slave freshness checks once every .. seconds
|
# slave-cycle-interval Schedule slave freshness checks once every .. seconds
|
||||||
#
|
#
|
||||||
# slave-cycle-interval=60
|
slave-cycle-interval=60
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# slave-renotify If we should send out notifications for slaved updates
|
# slave-renotify If we should send out notifications for slaved updates
|
||||||
#
|
#
|
||||||
# slave-renotify=no
|
# slave-renotify=no
|
||||||
|
{% else %}
|
||||||
|
slave=no
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# soa-expire-default Default SOA expire
|
# soa-expire-default Default SOA expire
|
||||||
|
|
Loading…
Reference in New Issue