From ed82a4573001ea7a0b3532860f5c6ee30809ca92 Mon Sep 17 00:00:00 2001 From: Astro Date: Sat, 20 Jan 2018 17:43:20 +0100 Subject: [PATCH] unbound: forward to 9.9.9.9 --- salt/unbound/forward.conf | 4 ++++ salt/unbound/init.sls | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 salt/unbound/forward.conf diff --git a/salt/unbound/forward.conf b/salt/unbound/forward.conf new file mode 100644 index 000000000..c4bac96 --- /dev/null +++ b/salt/unbound/forward.conf @@ -0,0 +1,4 @@ +forward-zone: + name: "." + forward-addr: 9.9.9.9 + diff --git a/salt/unbound/init.sls b/salt/unbound/init.sls index 023ff51..38a61d5 100644 --- a/salt/unbound/init.sls +++ b/salt/unbound/init.sls @@ -17,6 +17,10 @@ dns-root-data: file.managed: - source: salt://unbound/root.conf +/etc/unbound/unbound.conf.d/forward.conf: + file.managed: + - source: salt://unbound/forward.conf + /etc/unbound/unbound.conf.d/verbose.conf: file.managed: - source: salt://unbound/verbose.conf