The recursor config template used 'force: no', so an already-present /etc/powerdns/recursor.d/010-custom.conf was never updated. Hosts that had a stale file were missing 'forward-zones-recurse = universe.local=...', which breaks resolution of internal names (e.g. step-ca.universe.local). Remove force: no so the template is always applied, and add a restart_pdns_recursor handler notified on config change.
29 lines
456 B
YAML
Executable File
29 lines
456 B
YAML
Executable File
- name: restart_named
|
|
service:
|
|
name: "named"
|
|
state: restarted
|
|
|
|
- name: restart_snmpd
|
|
service:
|
|
name: "snmpd"
|
|
state: restarted
|
|
|
|
- name: restart_unbound
|
|
service:
|
|
name: "unbound"
|
|
state: restarted
|
|
|
|
- name: restart_pdns
|
|
service:
|
|
name: "pdns"
|
|
state: restarted
|
|
|
|
- name: restart_pdns_recursor
|
|
service:
|
|
name: "pdns-recursor"
|
|
state: restarted
|
|
|
|
- name: restart_mysqld
|
|
service:
|
|
name: "mysqld"
|
|
state: restarted |