Restart NSD when zone configuration has changed
This is necessary when a zone is added or removed: simply reloading NSD is apparently not enough for it to take notice.
This commit is contained in:
parent
f607fff0f8
commit
6d1d0ae4a8
@ -16,6 +16,7 @@
|
|||||||
notify:
|
notify:
|
||||||
- rebuild nsd database
|
- rebuild nsd database
|
||||||
- reload nsd database
|
- reload nsd database
|
||||||
|
- restart nsd
|
||||||
|
|
||||||
- name: Create base nsd configuration file
|
- name: Create base nsd configuration file
|
||||||
template: src=config.j2 dest="{{ nsd_config_dir }}/nsd.conf" owner=root group=root mode=0644 validate='nsd-checkconf %s'
|
template: src=config.j2 dest="{{ nsd_config_dir }}/nsd.conf" owner=root group=root mode=0644 validate='nsd-checkconf %s'
|
||||||
|
Loading…
Reference in New Issue
Block a user