@@ -0,0 +1,3 @@
+private-domain: "service."
+local-zone: "service." static
+local-data: "dns.service" IN A 192.168.1.144
@@ -26,6 +26,7 @@ server:
auto-trust-anchor-file: /usr/local/etc/unbound/root.key
+ include: /var/unbound/service.zones
include: /var/unbound/local-void.zones
@@ -16,6 +16,13 @@
ignore_errors: true
notify: Unbound restarted
+- name: Unbound service zones file installed
+ copy:
+ src: service.zones
+ dest: /var/unbound/service.zones
+ mode: 0644
+ notify: Unbound restarted
+
- name: Void zones installed
shell: void-zones-update.sh