aboutsummaryrefslogtreecommitdiffstats
path: root/roles/dns/handlers
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-02-22 00:25:36 +0800
committerAaron LI <aly@aaronly.me>2018-03-14 11:28:44 +0800
commit71dfbbe0291218bcb3ffaa9997d8aaf6d98a3259 (patch)
tree4a72066a9bb5985524d2c0d3b974a7ace855d55f /roles/dns/handlers
parent6e2c2eb10093938e02a0d44726f71f82c7ffc5b8 (diff)
downloadansible-dfly-vps-71dfbbe0291218bcb3ffaa9997d8aaf6d98a3259.tar.bz2
role/dns: configure NSD as the stealth master with 2 domains
* Add "network" and "nsd" variables * Install and configure NSD as the authoritative stealth master server * Allow notify and transfer to slave masters: - freedns.afraid.org - 1984hosting.com * Add preliminary zone files for domains: - 233233.xyz - 1314233.xyz
Diffstat (limited to 'roles/dns/handlers')
-rw-r--r--roles/dns/handlers/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/dns/handlers/main.yml b/roles/dns/handlers/main.yml
new file mode 100644
index 0000000..aab63c8
--- /dev/null
+++ b/roles/dns/handlers/main.yml
@@ -0,0 +1,6 @@
+---
+- name: restart-unbound
+ command: rcrestart unbound
+
+- name: restart-nsd
+ command: rcrestart nsd